From 55ccddb352a309a0ff61aa0de6ef494a85b38b71 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sun, 15 Jan 2023 20:43:15 +0100 Subject: more shared fs config --- common.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'common.nix') diff --git a/common.nix b/common.nix index 0cd559c..998dd4b 100644 --- a/common.nix +++ b/common.nix @@ -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"; -- cgit v1.2.3