diff options
author | Christoph Cullmann <cullmann@kde.org> | 2024-05-29 22:34:18 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2024-05-29 22:34:18 +0200 |
commit | 6344eedd28940cf566d59f48eca197395f0d1034 (patch) | |
tree | aea44a0ecfeaa254b7a80f8df75ebd26dc8a98ed /common.nix | |
parent | 898cc97a9c1e757edc77cd0060db690ab087109a (diff) |
more ZFS preparations
Diffstat (limited to 'common.nix')
-rw-r--r-- | common.nix | 16 |
1 files changed, 7 insertions, 9 deletions
@@ -56,23 +56,21 @@ in options = [ "defaults" "size=8G" "mode=755" ]; }; - # nix store file system from encrypted disk + # nix store file system from encrypted ZFS fileSystems."/nix" = - { device = "/dev/mapper/crypt-system"; - fsType = "btrfs"; + { device = "zpool/nix"; + fsType = "zfs"; neededForBoot = true; - options = [ "subvol=nix" "noatime" "nodiratime" ]; }; - # data store file system from encrypted disk + # data store file system from encrypted ZFS fileSystems."/data" = - { device = "/dev/mapper/crypt-system"; - fsType = "btrfs"; + { device = "zpool/data"; + fsType = "zfs"; neededForBoot = true; - options = [ "subvol=data" "noatime" "nodiratime" ]; }; - # bind mount to have homes + # bind mount to have user homes fileSystems."/home" = { device = "/data/home"; fsType = "none"; |