From ac173b25e12778a9a586d28c22288e9435e9878e Mon Sep 17 00:00:00 2001 From: blake Date: Sun, 5 Oct 2025 21:39:16 -0500 Subject: [PATCH] 16 current 2025-10-05 21:36:22 25.05.20251001.5b5be50 6.12.49 * --- flake.nix | 2 +- modules/system/syncthing.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 21d0b73..3185f43 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,6 @@ # flake for blakes nixos config # define new devices in outputs -# generation: 15 current 2025-10-05 20:58:19 25.05.20251001.5b5be50 6.12.49 * +# generation: 16 current 2025-10-05 21:36:22 25.05.20251001.5b5be50 6.12.49 * { description = "blakes nix config"; inputs = { diff --git a/modules/system/syncthing.nix b/modules/system/syncthing.nix index 6e2e245..848bd94 100644 --- a/modules/system/syncthing.nix +++ b/modules/system/syncthing.nix @@ -24,11 +24,11 @@ in config = lib.mkIf cfg.enable { - systemd.tmpfiles.rules = lib.optionals (cfg.mode == "server") ["d /var/lib/syncthing 0775 root blake -"]; + systemd.tmpfiles.rules = lib.optionals (cfg.mode == "server") ["d /var/lib/syncthing 0775 blake blake -"]; services.syncthing = { enable = true; - user = if cfg.mode == "server" then "root" else "blake"; + user = if cfg.mode == "server" then "blake" else "blake"; group = if cfg.mode == "server" then "blake" else "blake"; dataDir = cfg.data_dir; guiAddress = "0.0.0.0:2222";