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