tvl-depot/users/tazjin/home/persistence.nix
Vincent Ambo e28c2885c6 refactor(tazjin/home): move persistence config into separate module
Change-Id: I1098e75f8b03dbb1c893fb7c43f0fe9926bb4861
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8876
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2023-06-30 11:02:22 +00:00

42 lines
876 B
Nix

# 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"
];
};
}