HASH ec0970c289a5
DATE 2025-03-24
SUBJECT syncthing: add ookst480s
FILES 3 CHANGED
HASH ec0970c289a5
DATE 2025-03-24
SUBJECT syncthing: add ookst480s
FILES 3 CHANGED
┌─ flake.lock ───────────────────────────────────────────────────────────────┐
│ diff --git a/flake.lock b/flake.lock │
│ index cf3e0e0..8291222 100644 │
│ --- a/flake.lock │
│ +++ b/flake.lock │
│ @@ -1069,11 +1069,11 @@ │
│ ] │
│ }, │
│ "locked": { │
│ - "lastModified": 1741672790, │
│ - "narHash": "sha256-Apsxelfd3vmQsKIQi08e3wwrkYcccoCUpR6w/SBtvbA=", │
│ + "lastModified": 1742774083, │
│ + "narHash": "sha256-SUwQ+Vi0QOew3rVZ388xZ4pzm3v4ZTAhvaSfpBWnL6s=", │
│ "ref": "refs/heads/master", │
│ - "rev": "c86c18287cd5d98af7ad7385da7b232647f3fae2", │
│ - "revCount": 39, │
│ + "rev": "15d72fc737da82dc07073716adcbbead679c8304", │
│ + "revCount": 40, │
│ "type": "git", │
│ "url": "ssh://[email protected]/ooks-io/kunzen" │
│ }, │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ flake.lock ─────────────────────────┐
│ diff --git a/flake.lock b/flake.lock │
│ index cf3e0e0..8291222 100644 │
│ --- a/flake.lock │
│ +++ b/flake.lock │
│ @@ -1069,11 +1069,11 @@ │
│ ] │
│ }, │
│ "locked": { │
│ - "lastModified": 1741672790, │
│ - "narHash": "sha256-Apsxelfd3vmQsKIQ │
│ i08e3wwrkYcccoCUpR6w/SBtvbA=", │
│ + "lastModified": 1742774083, │
│ + "narHash": "sha256-SUwQ+Vi0QOew3rVZ │
│ 388xZ4pzm3v4ZTAhvaSfpBWnL6s=", │
│ "ref": "refs/heads/master", │
│ - "rev": "c86c18287cd5d98af7ad7385da7 │
│ b232647f3fae2", │
│ - "revCount": 39, │
│ + "rev": "15d72fc737da82dc07073716adc │
│ bbead679c8304", │
│ + "revCount": 40, │
│ "type": "git", │
│ "url": "ssh://[email protected]/ooks-i │
│ o/kunzen" │
│ }, │
└──────────────────────────────────────────────┘
┌─ hosts/ookst480s/default.nix ──────────────────────────────────────────────┐
│ diff --git a/hosts/ookst480s/default.nix b/hosts/ookst480s/default.nix │
│ index 2493c59..d92ad46 100644 │
│ --- a/hosts/ookst480s/default.nix │
│ +++ b/hosts/ookst480s/default.nix │
│ @@ -10,6 +10,7 @@ │
│ │
│ ooknet = { │
│ host = { │
│ + syncthing.enable = true; │
│ admin = { │
│ name = "ooks"; │
│ shell = "fish"; │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ hosts/ookst480s/default.nix ────────┐
│ diff --git a/hosts/ookst480s/default.nix b/h │
│ osts/ookst480s/default.nix │
│ index 2493c59..d92ad46 100644 │
│ --- a/hosts/ookst480s/default.nix │
│ +++ b/hosts/ookst480s/default.nix │
│ @@ -10,6 +10,7 @@ │
│ │
│ ooknet = { │
│ host = { │
│ + syncthing.enable = true; │
│ admin = { │
│ name = "ooks"; │
│ shell = "fish"; │
└──────────────────────────────────────────────┘
┌─ modules/nixos/base/syncthing.nix ─────────────────────────────────────────┐
│ diff --git a/modules/nixos/base/syncthing.nix b/modules/nixos/base/syncthing.nix │
│ index 1967b32..f69992b 100644 │
│ --- a/modules/nixos/base/syncthing.nix │
│ +++ b/modules/nixos/base/syncthing.nix │
│ @@ -25,6 +25,9 @@ in { │
│ │
│ settings = { │
│ # obfuscating device ids is not necessary, but i do it anyway │
│ + │
│ + # to generate a new device id run: │
│ + # syncthing generate │
│ devices = { │
│ "ooksdesk" = { │
│ inherit (devices.ooksdesk) id addresses; │
│ @@ -32,6 +35,9 @@ in { │
│ "ooksmedia" = { │
│ inherit (devices.ooksmedia) id addresses; │
│ }; │
│ + "ookst480s" = { │
│ + inherit (devices.ookst480s) id addresses; │
│ + }; │
│ }; │
│ folders = { │
│ "Summit" = { │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ modules/nixos/base/syncthing.nix ───┐
│ diff --git a/modules/nixos/base/syncthing.ni │
│ x b/modules/nixos/base/syncthing.nix │
│ index 1967b32..f69992b 100644 │
│ --- a/modules/nixos/base/syncthing.nix │
│ +++ b/modules/nixos/base/syncthing.nix │
│ @@ -25,6 +25,9 @@ in { │
│ │
│ settings = { │
│ # obfuscating device ids is not nec │
│ essary, but i do it anyway │
│ + │
│ + # to generate a new device id run: │
│ + # syncthing generate │
│ devices = { │
│ "ooksdesk" = { │
│ inherit (devices.ooksdesk) id a │
│ ddresses; │
│ @@ -32,6 +35,9 @@ in { │
│ "ooksmedia" = { │
│ inherit (devices.ooksmedia) id │
│ addresses; │
│ }; │
│ + "ookst480s" = { │
│ + inherit (devices.ookst480s) id │
│ addresses; │
│ + }; │
│ }; │
│ folders = { │
│ "Summit" = { │
└──────────────────────────────────────────────┘
[ BACK TO LOG ]
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET