stockholm/tv/1systems/ru/config.nix

38 lines
912 B
Nix
Raw Normal View History

2023-01-31 00:20:19 +00:00
with import ./lib;
{ config, ... }: {
imports = [
../..
../../2configs/hw/winmax2.nix
../../2configs/retiolum.nix
../../2configs/wiregrill.nix
];
boot.initrd.luks.devices.main.device = "/dev/nvme0n1p2";
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.systemd-boot.enable = true;
fileSystems."/" = {
2023-03-15 17:49:24 +00:00
device = "/dev/mapper/ruvg0-root";
fsType = "btrfs";
options = ["defaults" "noatime" "compress=zstd"];
2023-01-31 00:20:19 +00:00
};
fileSystems."/boot" = {
device = "/dev/nvme0n1p1";
fsType = "vfat";
};
fileSystems."/home" = {
2023-03-15 17:49:24 +00:00
device = "/dev/mapper/ruvg0-home";
fsType = "btrfs";
options = ["defaults" "noatime" "compress=zstd"];
2023-01-31 00:20:19 +00:00
};
fileSystems."/bku" = {
2023-03-15 17:49:24 +00:00
device = "/dev/mapper/ruvg0-bku";
fsType = "btrfs";
options = ["defaults" "noatime" "compress=zstd"];
2023-01-31 00:20:19 +00:00
};
krebs.build.host = config.krebs.hosts.ru;
system.stateVersion = "22.11";
}