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
This commit is contained in:
parent
12b979e41b
commit
e28c2885c6
4 changed files with 44 additions and 36 deletions
|
|
@ -4,42 +4,6 @@
|
|||
{ 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"
|
||||
];
|
||||
};
|
||||
|
||||
home.activation.screenshots = lib.hm.dag.entryAnywhere ''
|
||||
$DRY_RUN_CMD mkdir -p $HOME/screenshots
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue