summaryrefslogtreecommitdiff
path: root/mini
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2024-03-25 23:23:35 +0100
committerChristoph Cullmann <cullmann@kde.org>2024-03-25 23:23:35 +0100
commite415ceb22d46901cc4cf4907f763f52a7e478fe4 (patch)
treea631edd9689f82028b28dff775c8d59592435e90 /mini
parent4464c6638659e0bfaf9a43621a27f8e3a92c5380 (diff)
add vms disk
Diffstat (limited to 'mini')
-rw-r--r--mini/hardware-configuration.nix16
1 files changed, 8 insertions, 8 deletions
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;