diff options
Diffstat (limited to 'home-manager')
-rw-r--r-- | home-manager/default.nix | 1 | ||||
-rw-r--r-- | home-manager/impermanence/default.nix | 32 |
2 files changed, 15 insertions, 18 deletions
diff --git a/home-manager/default.nix b/home-manager/default.nix index 4f10b40f..bdbf50a6 100644 --- a/home-manager/default.nix +++ b/home-manager/default.nix @@ -16,6 +16,7 @@ dataHome = "${homeDirectory}/.local/share"; in { imports = [ + inputs.impermanence.nixosModules.home-manager.impermanence ./impermanence ./packages ./config diff --git a/home-manager/impermanence/default.nix b/home-manager/impermanence/default.nix index d4654c37..7a542ffa 100644 --- a/home-manager/impermanence/default.nix +++ b/home-manager/impermanence/default.nix @@ -5,22 +5,18 @@ ... }: { # TODO use this instead of the root config - # import = [ - # impermanence.nixosModules.home-manager.impermanence - # ]; - # - # home.persistence."/srv${config.home.homeDirectory}" = { - # directories = [ - # ".local/share" - # ".cache" - # - # "media" - # "repos" - # "school" - # ]; - # files = [ - # ".screenrc" - # ]; - # allowOther = true; - # }; + + nixosConfig.home.persistence."/srv/home/soispha" = { + allowOther = true; + directories = [ + ".local/share" + ".cache" + + "media" + "repos" + "school" + ]; + files = [ + ]; + }; } |