From be8eba9e50e963ba6781860386c7526c5e4d0df6 Mon Sep 17 00:00:00 2001 From: serenity-F Date: Fri, 4 Apr 2025 00:19:21 +1000 Subject: [PATCH] uargh syncthing pls --- core/sync.nix | 25 +++++++++++-------------- home/programs/sync/default.nix | 26 +++++++++++++------------- 2 files changed, 24 insertions(+), 27 deletions(-) diff --git a/core/sync.nix b/core/sync.nix index e755f6d..7650a48 100755 --- a/core/sync.nix +++ b/core/sync.nix @@ -34,7 +34,7 @@ ## Syncthing syncthing = { - enable = true; # easy toggle + enable = false; # easy toggle dataDir = "${homeDir}"; # defaults to primaryUser's homedir openDefaultPorts = true; # opens the default firewall ports #configDir = "${homeDir}/.config/syncthing"; # defaults to primaryUser's homedir @@ -56,7 +56,7 @@ id = "k158k-hvzk3"; path = "${homeDir}/Keyring"; # defaults to primaryUser's homedir devices = [ - "Hecate" + #"Hecate" #"Persephone" ]; #versioning = { # versioning, for added redundancy @@ -71,7 +71,7 @@ id = "h0ay3-l8snk"; path = "${homeDir}/Notes"; # defaults to primaryUser's homedir devices = [ - "Hecate" + #"Hecate" #"Persephone" ]; #versioning = { # versioning, for added redundancy @@ -85,17 +85,14 @@ ## Syncthing Devices #overrideDevices = true; # force these devices on activation - devices = - { # all syncthing devices listed - 'boilerplate' for other hosts - - #"Orcus".id = "REALLY-LONG-ORCUS-SYNCTHING-KEY-HERE"; # disabled for testing - "Hades".id = - "L2XWTY6-ATLIQM4-WVRA5JO-Y7RREI5-FBYSOQM-XB3WA4I-F2VHDKG-B2YPJAY"; - "Hecate".id = - "36WUSM4-HFYOGWP-33JHBPI-WR2TXXE-ZX3PFMB-QH6BMXM-DQ523ZF-FD7M3AI"; - #"Persephone".id = "REALLY-LONG-PERSEPHONE-SYNCTHING-KEY-HERE"; # disabled for testing - - }; + #devices = #{ # all syncthing devices listed - 'boilerplate' for other hosts + #"Orcus".id = "REALLY-LONG-ORCUS-SYNCTHING-KEY-HERE"; # disabled for testing + #"Hades".id = + #"L2XWTY6-ATLIQM4-WVRA5JO-Y7RREI5-FBYSOQM-XB3WA4I-F2VHDKG-B2YPJAY"; + #"Hecate".id = + #"36WUSM4-HFYOGWP-33JHBPI-WR2TXXE-ZX3PFMB-QH6BMXM-DQ523ZF-FD7M3AI"; + #"Persephone".id = "REALLY-LONG-PERSEPHONE-SYNCTHING-KEY-HERE"; # disabled for testing + #}; }; }; }; diff --git a/home/programs/sync/default.nix b/home/programs/sync/default.nix index e4f65a1..a0ed187 100755 --- a/home/programs/sync/default.nix +++ b/home/programs/sync/default.nix @@ -21,16 +21,16 @@ #fileSystems."/run/media/${primaryUser}/Asphodel".device = #"/dev/mapper/Asphodel"; - home.file = { # Files and directories to copy to ${homeDir} + #home.file = { # Files and directories to copy to ${homeDir} - ## Example format for home.file - #"Foo" = { # Name for the copied file - #source = ./Foo; # Source is relative to this file - #target = "Desired/Path/To/Foo"; # Target path for Foo within ${homeDir} - #recursive = true; # Unsure if necessary for most things - #}; + ## Example format for home.file + #"Foo" = { # Name for the copied file + #source = ./Foo; # Source is relative to this file + #target = "Desired/Path/To/Foo"; # Target path for Foo within ${homeDir} + #recursive = true; # Unsure if necessary for most things + #}; - }; + #}; ## Related services services = { @@ -46,11 +46,11 @@ }; ## Syncthing program service - syncthing = { - enable = false; - #tray.enable = true; - #guiAddress = "home.syncthing:8384"; - }; + #syncthing = { + #enable = false; + #tray.enable = true; + #guiAddress = "home.syncthing:8384"; + #}; };