diff options
Diffstat (limited to 'users.nix')
| -rw-r--r-- | users.nix | 32 |
1 files changed, 32 insertions, 0 deletions
@@ -36,4 +36,36 @@ in { ]; }; }; + environment.persistence."/nix/persist".users = lib.mkIf config.environment.persistence."/nix/persist".enable ( + builtins.mapAttrs + (name: value: lib.mkIf (builtins.elem name machine.users) value) + { + "andromeda" = { + directories = [ + ".backups" + ".local/share/Anki2" + ".local/share/chat.fluffy.fluffychat" + ".local/share.zoxide" + ".ssh" + "conf" + "Downloads" + "pp" + ]; + files = [ + ".bash_history" + ".brush_history" + ]; + }; + "mtgmonkey" = { + directories = [ + ".local/share/zoxide" + ".ssh" + ]; + files = [ + ".bash_history" + ".brush_history" + ]; + }; + } + ); } |
