63 current 2025-10-05 15:21:07 25.05.20251001.5b5be50 6.12.49 *

This commit is contained in:
2025-10-05 15:21:40 -05:00
parent 3064d01ca4
commit 042e6da6b3
2 changed files with 4 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
# flake for blakes nixos config # flake for blakes nixos config
# define new devices in outputs # define new devices in outputs
# generation: 62 current 2025-10-05 15:15:42 25.05.20251001.5b5be50 6.12.49 * # generation: 63 current 2025-10-05 15:21:07 25.05.20251001.5b5be50 6.12.49 *
{ {
description = "blakes nix config"; description = "blakes nix config";
inputs = { inputs = {

View File

@@ -23,6 +23,9 @@ in
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
systemd.tmpfiles.rules = lib.optionals (cfg.mode == "server") ["d /var/lib/syncthing 0775 root blake -"];
services.syncthing = { services.syncthing = {
enable = true; enable = true;
user = if cfg.mode == "server" then "root" else "blake"; user = if cfg.mode == "server" then "root" else "blake";