diff --git a/home/profile.nix b/home/profile.nix index 37cafbcd..d10a1552 100644 --- a/home/profile.nix +++ b/home/profile.nix @@ -124,6 +124,12 @@ in { neededForBoot = true; }) cfg.profiles; + global.fs.zfs.mountpoints = mapAttrs' + (name: opts: nameValuePair + "/nix/persist/home/${name}" + "home/${name}") + (filterAttrs (n: _: n != "root") config.users.profiles); + home-manager.users = mapAttrs (name: opts: { imports = cfg.homeModules; home.stateVersion = "23.11";