diff options
author | Christoph Cullmann <cullmann@kde.org> | 2023-01-15 20:43:15 +0100 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2023-01-15 20:43:15 +0100 |
commit | 55ccddb352a309a0ff61aa0de6ef494a85b38b71 (patch) | |
tree | 916da3f4fd68ddec6629e014af9bc42f79f33caa /common.nix | |
parent | 73c8db5b7cadc211bfc84eebded1a2e848abc7af (diff) |
more shared fs config
Diffstat (limited to 'common.nix')
-rw-r--r-- | common.nix | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -36,6 +36,18 @@ in services.zfs.autoScrub.enable = true; services.zfs.trim.enable = true; + # persistent nix + fileSystems."/nix" = { + device = "zroot/nix"; + fsType = "zfs"; + }; + + # persistent homes + fileSystems."/home" = { + device = "zroot/home"; + fsType = "zfs"; + }; + # non persistent root fileSystems."/" = { device = "none"; |