From e415ceb22d46901cc4cf4907f763f52a7e478fe4 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Mon, 25 Mar 2024 23:23:35 +0100 Subject: add vms disk --- mini/hardware-configuration.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'mini') diff --git a/mini/hardware-configuration.nix b/mini/hardware-configuration.nix index f317a8b..6cef000 100644 --- a/mini/hardware-configuration.nix +++ b/mini/hardware-configuration.nix @@ -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; -- cgit v1.2.3