add new syncthing folder to nixos peers

This commit is contained in:
Yan Lin 2025-11-27 21:38:51 +01:00
parent 0ee9feb84e
commit 577bc93b8d
3 changed files with 13 additions and 3 deletions

View file

@ -22,8 +22,10 @@ let
stignoreContent = lib.concatStringsSep "\n" commonIgnores;
# Device groupings
pcDevices = [ "hs" "thinkpad" "macbook" ];
nixosDevices = [ "hs" "thinkpad" ];
darwinDevices = [ "macbook" ];
touchDevices = [ "iphone" "ipad" ];
pcDevices = nixosDevices ++ darwinDevices;
allDevices = pcDevices ++ touchDevices;
# Common versioning configuration
@ -113,9 +115,9 @@ in
};
})
// (lib.optionalAttrs (lib.elem "NSFW" cfg.enabledFolders) {
"Archive" = {
"NSFW" = {
path = "~/NSFW";
devices = pcDevices;
devices = nixosDevices;
ignorePerms = true;
versioning = commonVersioning;
};