From 6f1242b02c3c50ae49ee7b961fb1fc4a09d1db03 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 21 Dec 2023 13:26:09 -0700 Subject: [PATCH] [NixOS] Add dean syncthing and railbird directory --- nixos/syncthing.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/syncthing.nix b/nixos/syncthing.nix index a9353f47..28335472 100644 --- a/nixos/syncthing.nix +++ b/nixos/syncthing.nix @@ -13,6 +13,7 @@ let jay-lenovo = { id = "AP5ZUKJ-QBVYWCN-DYHR3UB-JJXRWNI-CAORGYM-HWRKHEH-ZJSTRLN-PP5USQX"; }; jimi-hendnix = { id = "55JWW5K-4NY5DKT-TR4MVPO-UNOMQKM-J7TYCRF-CCCZGPM-FVRKHID-JVFLAAV"; }; railbird-sf = { id = "5F4FPJM-KRBFVIH-CTTB2NC-7CPVGAM-CONMH2Q-SQPRODO-CWKRFPF-HVN4AAD"; }; + dean = { id = "RIVW4FP-NZNGGGD-4ET26IC-R6CZHEU-4EBIDHX-U756VWB-W7EM3LE-3YQ6YA3"; }; }; allDevices = builtins.attrNames devices; in @@ -22,6 +23,7 @@ makeEnable config "modules.syncthing" true { chown -R syncthing:syncthing /var/lib/syncthing chmod -R 2770 /var/lib/syncthing mkdir -p /var/lib/syncthing/sync + mkdir -p /var/lib/syncthing/railbird ''; }; services.syncthing = { @@ -34,6 +36,11 @@ makeEnable config "modules.syncthing" true { devices = allDevices; copyOwnershipFromParent = true; }; + railbird = { + path = "~/railbird"; + devices = allDevices; + copyOwnershipFromParent = true; + }; }; options = { relaysEnabled = true;