From 41009b53cb29e548062cdc3e9e470ebe047fd5ba Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Thu, 30 May 2024 11:18:56 +0200 Subject: more zfs --- neko/hardware-configuration.nix | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'neko/hardware-configuration.nix') diff --git a/neko/hardware-configuration.nix b/neko/hardware-configuration.nix index 9c017ad..af44b41 100644 --- a/neko/hardware-configuration.nix +++ b/neko/hardware-configuration.nix @@ -19,26 +19,20 @@ fsType = "vfat"; neededForBoot = true; }; -/* + # vms - boot.initrd.luks.devices."crypt-vms".device = "/dev/disk/by-id/nvme-CT2000P5PSSD8_213330E4ED05"; fileSystems."/home/cullmann/vms" = - { device = "/dev/mapper/crypt-vms"; - fsType = "btrfs"; - neededForBoot = true; - options = [ "noatime" "nodiratime" ]; + { device = "vpool/vms"; + fsType = "zfs"; depends = [ "/home" ]; }; # projects - boot.initrd.luks.devices."crypt-projects".device = "/dev/disk/by-id/nvme-Samsung_SSD_980_PRO_2TB_S69ENF0R846614L"; fileSystems."/home/cullmann/projects" = - { device = "/dev/mapper/crypt-projects"; - fsType = "btrfs"; - neededForBoot = true; - options = [ "noatime" "nodiratime" ]; + { device = "ppool/projects"; + fsType = "zfs"; depends = [ "/home" ]; - };*/ + }; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -- cgit v1.2.3