diff --git a/SwarselSystems.org b/SwarselSystems.org index 1e8e9a4..6d66e90 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -6000,29 +6000,29 @@ Do not touch this. "sync (@oracle)" = { id = "ETW6TST-NPK7MKZ-M4LXMHA-QUPQHDT-VTSHH5X-CR5EIN2-YU7E55F-MGT7DQB"; }; - "server1" = { - id = "ZXWVC4X-IIARITZ-MERZPHN-HD55Y6G-QJM2GTB-6BWYXMR-DTO3TS2-QDBREQQ"; + "winters" = { + id = "O7RWDMD-AEAHPP7-7TAVLKZ-BSWNBTU-2VA44MS-EYGUNBB-SLHKB3C-ZSLMOAA"; }; }; folders = { "Default Folder" = { path = "/home/swarsel/Sync"; - devices = [ "sync (@oracle)" "magicant" "zenfone9" ]; + devices = [ "sync (@oracle)" "magicant" "zenfone9" "winters" ]; id = "default"; }; "Obsidian" = { path = "/home/swarsel/Nextcloud/Obsidian"; - devices = [ "sync (@oracle)" "magicant" "zenfone9" ]; + devices = [ "sync (@oracle)" "magicant" "zenfone9" "winters" ]; id = "yjvni-9eaa7"; }; "Org" = { path = "/home/swarsel/Nextcloud/Org"; - devices = [ "sync (@oracle)" "magicant" "zenfone9" ]; + devices = [ "sync (@oracle)" "magicant" "zenfone9" "winters" ]; id = "a7xnl-zjj3d"; }; "Vpn" = { path = "/home/swarsel/Vpn"; - devices = [ "sync (@oracle)" "magicant" "zenfone9" ]; + devices = [ "sync (@oracle)" "magicant" "zenfone9" "winters" ]; id = "hgp9s-fyq3p"; }; }; @@ -7733,6 +7733,11 @@ Also, the system state version is set here. No need to touch it. devices = [ "sync (@oracle)" "magicant" "zenfone9" "nbl-imba-2" ]; id = "hgp9s-fyq3p"; }; + "Documents" = { + path = "/Vault/data/syncthing/Documents"; + devices = [ "magicant" "nbl-imba-2" ]; + id = "hgr3d-pfu3w"; + }; }; }; }; @@ -7924,7 +7929,22 @@ Integrates 1password mostly. There are more options at [[#h:f0b2ea93-94c8-48d8-8 services.openssh = { enable = true; extraConfig = '' - ''; + ''; + }; + + services.syncthing = { + settings = { + "winters" = { + id = "O7RWDMD-AEAHPP7-7TAVLKZ-BSWNBTU-2VA44MS-EYGUNBB-SLHKB3C-ZSLMOAA"; + }; + folders = { + "Documents" = { + path = "/home/swarsel/Documents"; + devices = [ "magicant" "winters" ]; + id = "hgr3d-pfu3w"; + }; + }; + }; }; specialisation = { @@ -7935,6 +7955,8 @@ Integrates 1password mostly. There are more options at [[#h:f0b2ea93-94c8-48d8-8 ]; }; }; + + } #+end_src diff --git a/profiles/common/nixos/syncthing.nix b/profiles/common/nixos/syncthing.nix index bb27c96..319f8a5 100644 --- a/profiles/common/nixos/syncthing.nix +++ b/profiles/common/nixos/syncthing.nix @@ -17,29 +17,29 @@ _: "sync (@oracle)" = { id = "ETW6TST-NPK7MKZ-M4LXMHA-QUPQHDT-VTSHH5X-CR5EIN2-YU7E55F-MGT7DQB"; }; - "server1" = { - id = "ZXWVC4X-IIARITZ-MERZPHN-HD55Y6G-QJM2GTB-6BWYXMR-DTO3TS2-QDBREQQ"; + "winters" = { + id = "O7RWDMD-AEAHPP7-7TAVLKZ-BSWNBTU-2VA44MS-EYGUNBB-SLHKB3C-ZSLMOAA"; }; }; folders = { "Default Folder" = { path = "/home/swarsel/Sync"; - devices = [ "sync (@oracle)" "magicant" "zenfone9" ]; + devices = [ "sync (@oracle)" "magicant" "zenfone9" "winters" ]; id = "default"; }; "Obsidian" = { path = "/home/swarsel/Nextcloud/Obsidian"; - devices = [ "sync (@oracle)" "magicant" "zenfone9" ]; + devices = [ "sync (@oracle)" "magicant" "zenfone9" "winters" ]; id = "yjvni-9eaa7"; }; "Org" = { path = "/home/swarsel/Nextcloud/Org"; - devices = [ "sync (@oracle)" "magicant" "zenfone9" ]; + devices = [ "sync (@oracle)" "magicant" "zenfone9" "winters" ]; id = "a7xnl-zjj3d"; }; "Vpn" = { path = "/home/swarsel/Vpn"; - devices = [ "sync (@oracle)" "magicant" "zenfone9" ]; + devices = [ "sync (@oracle)" "magicant" "zenfone9" "winters" ]; id = "hgp9s-fyq3p"; }; }; diff --git a/profiles/optional/nixos/work.nix b/profiles/optional/nixos/work.nix index fc53375..b587e63 100644 --- a/profiles/optional/nixos/work.nix +++ b/profiles/optional/nixos/work.nix @@ -24,7 +24,22 @@ services.openssh = { enable = true; extraConfig = '' - ''; + ''; + }; + + services.syncthing = { + settings = { + "winters" = { + id = "O7RWDMD-AEAHPP7-7TAVLKZ-BSWNBTU-2VA44MS-EYGUNBB-SLHKB3C-ZSLMOAA"; + }; + folders = { + "Documents" = { + path = "/home/swarsel/Documents"; + devices = [ "magicant" "winters" ]; + id = "hgr3d-pfu3w"; + }; + }; + }; }; specialisation = { @@ -35,4 +50,6 @@ ]; }; }; + + } diff --git a/profiles/server/common/syncthing.nix b/profiles/server/common/syncthing.nix index 2980268..cffb68e 100644 --- a/profiles/server/common/syncthing.nix +++ b/profiles/server/common/syncthing.nix @@ -49,6 +49,11 @@ devices = [ "sync (@oracle)" "magicant" "zenfone9" "nbl-imba-2" ]; id = "hgp9s-fyq3p"; }; + "Documents" = { + path = "/Vault/data/syncthing/Documents"; + devices = [ "magicant" "nbl-imba-2" ]; + id = "hgr3d-pfu3w"; + }; }; }; };