From 3ac6cd9dc19ab3f9cf84cb846eee8fc53febcc3d Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Thu, 30 May 2024 19:08:19 +0200 Subject: [PATCH] add vms filesystem --- mini/hardware-configuration.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/mini/hardware-configuration.nix b/mini/hardware-configuration.nix index 9be483a..bd59f3a 100644 --- a/mini/hardware-configuration.nix +++ b/mini/hardware-configuration.nix @@ -19,16 +19,13 @@ fsType = "vfat"; neededForBoot = true; }; -/* + # vms - boot.initrd.luks.devices."crypt-vms".device = "/dev/disk/by-id/ata-CT2000MX500SSD1_2138E5D5061F"; fileSystems."/home/cullmann/vms" = - { device = "/dev/mapper/crypt-vms"; - fsType = "btrfs"; - neededForBoot = true; - options = [ "noatime" "nodiratime" ]; + { device = "vpool/vms"; + fsType = "zfs"; depends = [ "/home" ]; - };*/ + }; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;