diff options
Diffstat (limited to '')
-rw-r--r-- | flake/nixosConfigurations/common.nix | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/flake/nixosConfigurations/common.nix b/flake/nixosConfigurations/common.nix index 585e883b..2ff85521 100644 --- a/flake/nixosConfigurations/common.nix +++ b/flake/nixosConfigurations/common.nix @@ -1,6 +1,6 @@ # This file contains common configuration applied to every host. # It should only `enable` options defined in the `modules` directory. -{...}: { +{config, ...}: { soispha = { boot.enable = true; cleanup.enable = true; @@ -37,6 +37,37 @@ snapper.enable = true; steam.enable = false; systemDiff.enable = true; + unison = { + enable = true; + + foreign.userName = "soispha"; + dataDir = "${config.home-manager.users.soispha.xdg.dataHome}/unison"; + userSourceDir = "/srv/home/soispha"; + pathsToIgnore = [ + # already synchronized by the taskserver + "~/.local/share/task" + + # Should not be synchronized + "~/.local/share/unison" + + # Is just to big to be synchronized (# TODO: Work around that <2024-08-31> ) + "~/media/music" + ]; + + pathsToSync = [ + "~/.local/state/mpv" + "~/.local/state/nvim" + "~/.local/share" + "~/.local/.Trash-1000" + + "~/.mozilla/.Trash-1000" + "~/.mozilla/firefox" + + "~/media" + "~/school" + "~/repos" + ]; + }; }; programs = { |