diff options
author | ene <ene@sils.li> | 2023-02-20 10:12:35 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-02-20 11:42:45 +0100 |
commit | 2e1fab3e13c557928313f022a7f48ff0ce55e251 (patch) | |
tree | a2a32757009a0a77c39b47098af1886bb3b7d38f /home-manager | |
parent | Fix(system): Remove unnecessary persistent file (diff) | |
download | nixos-config-2e1fab3e13c557928313f022a7f48ff0ce55e251.tar.gz nixos-config-2e1fab3e13c557928313f022a7f48ff0ce55e251.zip |
Fix(system): Refactor impermanence
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 = [ + ]; + }; } |