serverle: add backup and ignore tmp-paths

This commit is contained in:
Felix Buehler 2022-01-02 00:40:28 +01:00
parent 180bab9bea
commit e22335eadd
2 changed files with 3 additions and 0 deletions

View file

@ -59,6 +59,8 @@ in
"/home/*/.gvfs" "/home/*/.gvfs"
"/home/*/.thumbnails" "/home/*/.thumbnails"
"/home/*/.local/share/Trash" "/home/*/.local/share/Trash"
"/src/data/tmp"
"/src/data/todo"
]; ];
extraCreateArgs = "--one-file-system --exclude-caches --keep-exclude-tags --stats"; extraCreateArgs = "--one-file-system --exclude-caches --keep-exclude-tags --stats";
encryption = { encryption = {

View file

@ -1,6 +1,7 @@
{ config, ... }: { config, ... }:
{ {
imports = [ imports = [
./backup.nix
./default.nix ./default.nix
./core.nix ./core.nix
./disks.nix ./disks.nix