minor fix of syncthing module
This commit is contained in:
parent
ca82298afa
commit
f12f3d9e39
2 changed files with 3 additions and 11 deletions
|
|
@ -3,11 +3,5 @@
|
|||
{
|
||||
imports = [
|
||||
../home-default.nix
|
||||
../../../modules/syncthing.nix
|
||||
];
|
||||
|
||||
syncthing-custom = {
|
||||
enabledFolders = [ "Credentials" ];
|
||||
enableGui = false;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,8 +24,7 @@ let
|
|||
# Device groupings
|
||||
pcDevices = [ "macbook" "imac" "hs" "thinkpad" ];
|
||||
touchDevices = [ "iphone" "ipad" ];
|
||||
cloudDevices = [ "vps" ];
|
||||
allDevices = pcDevices ++ touchDevices ++ cloudDevices;
|
||||
allDevices = pcDevices ++ touchDevices;
|
||||
|
||||
# Common versioning configuration
|
||||
commonVersioning = {
|
||||
|
|
@ -85,9 +84,6 @@ in
|
|||
"imac" = {
|
||||
id = "2ST6EEF-KN3R2E6-PN64WAS-XGJ22NV-BAWAQX6-OCZLYE3-V5IM2SE-S22REAA";
|
||||
};
|
||||
"vps" = {
|
||||
id = "C44TBOW-OP4PMMY-O5P7JCJ-F6RBYES-E7R6YWX-5KA2WWR-CWUDLTC-IB3VQAF";
|
||||
};
|
||||
};
|
||||
|
||||
# Define shared folders (only enabled ones)
|
||||
|
|
@ -121,7 +117,9 @@ in
|
|||
gui = {
|
||||
enabled = cfg.enableGui;
|
||||
user = "yanlin";
|
||||
password = "";
|
||||
useTLS = false;
|
||||
insecureSkipHostcheck = true;
|
||||
};
|
||||
|
||||
# Additional settings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue