add vms disk

This commit is contained in:
Christoph Cullmann 2024-03-25 23:23:35 +01:00
parent 4464c66386
commit e415ceb22d

View file

@ -14,7 +14,7 @@
boot.initrd.luks.devices."crypt-system".device = "/dev/disk/by-id/nvme-CT4000P3PSSD8_2325E6E63746-part2";
# vms
#boot.initrd.luks.devices."crypt-vms".device = "/dev/disk/by-id/ata-CT2000MX500SSD1_2138E5D5061F";
boot.initrd.luks.devices."crypt-vms".device = "/dev/disk/by-id/ata-CT2000MX500SSD1_2138E5D5061F";
fileSystems."/" =
{ device = "/dev/mapper/crypt-system";
@ -67,13 +67,13 @@
depends = [ "/data" ];
};
# fileSystems."/home/cullmann/vms" =
# { device = "/dev/disk/by-id/ata-CT2000MX500SSD1_2138E5D5061F";
# fsType = "bcachefs";
# neededForBoot = true;
# options = [ "noatime" "nodiratime" ];
# depends = [ "/home" ];
# };
fileSystems."/home/cullmann/vms" =
{ device = "/dev/mapper/crypt-vms";
fsType = "btrfs";
neededForBoot = true;
options = [ "noatime" "nodiratime" ];
depends = [ "/home" ];
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;