diff options
Diffstat (limited to '')
-rw-r--r-- | home-manager/default.nix | 4 | ||||
-rw-r--r-- | home-manager/impermanence/default.nix | 25 |
2 files changed, 29 insertions, 0 deletions
diff --git a/home-manager/default.nix b/home-manager/default.nix index 4969d565..c11b8d85 100644 --- a/home-manager/default.nix +++ b/home-manager/default.nix @@ -5,6 +5,7 @@ home-manager, inputs, user_js, + impermanence, ... }: let # TODO actually use this in the user config @@ -15,6 +16,9 @@ dataHome = "${homeDirectory}/.local/share"; in { imports = [ +# ./impermanence # TODO doesn't work + + ./alacritty ./cups ./firefox diff --git a/home-manager/impermanence/default.nix b/home-manager/impermanence/default.nix new file mode 100644 index 00000000..bcb1c62f --- /dev/null +++ b/home-manager/impermanence/default.nix @@ -0,0 +1,25 @@ +# vim: ts=2 +{ + config, + impermanence, + ... +}: { + import = [ + impermanence.nixosModules.home-manager.impermanence + ]; + + home.persistence."/srv${config.home.homeDirectory}" = { + directories = [ + ".local/share" + ".cache" + + "media" + "repos" + "school" + ]; + files = [ + ".screenrc" + ]; + allowOther = true; + }; +} |