diff options
author | Vincent Ambo <mail@tazj.in> | 2023-06-28T08·22+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2023-06-30T11·02+0000 |
commit | e28c2885c6f9dd989647db67685f2e0c82d08ebd (patch) | |
tree | dc5b7327e7f6e23b72348ec0ff4b59a0f4307696 /users/tazjin/home/persistence.nix | |
parent | 12b979e41b6b639f058ba3634639a69840be4597 (diff) |
refactor(tazjin/home): move persistence config into separate module r/6362
Change-Id: I1098e75f8b03dbb1c893fb7c43f0fe9926bb4861 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8876 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin/home/persistence.nix')
-rw-r--r-- | users/tazjin/home/persistence.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/users/tazjin/home/persistence.nix b/users/tazjin/home/persistence.nix new file mode 100644 index 000000000000..9ea5ca8eb98d --- /dev/null +++ b/users/tazjin/home/persistence.nix @@ -0,0 +1,42 @@ +# Persistence configuration for machines with throw-away setups. + +{ depot, pkgs, ... }: # readTree +{ config, lib, ... }: # home-manager + +{ + imports = [ (depot.third_party.sources.impermanence + "/home-manager.nix") ]; + + home.persistence."/persist/tazjin/home" = { + allowOther = true; + + directories = [ + ".cargo" + ".config/audacity" + ".config/chromium" + ".config/google-chrome" + ".config/quassel-irc.org" + ".config/syncthing" + ".config/unity3d" + ".electrum" + ".gnupg" + ".local/share/audacity" + ".local/share/direnv" + ".local/share/fish" + ".local/share/keyrings" + ".local/share/zoxide" + ".mozilla/firefox" + ".password-store" + ".rustup" + ".ssh" + ".steam" + ".telega" + ".thunderbird" + "go" + "mail" + ]; + + files = [ + ".notmuch-config" + ]; + }; +} |