add new syncthing folder to nixos peers
This commit is contained in:
parent
0ee9feb84e
commit
577bc93b8d
3 changed files with 13 additions and 3 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue