16 current 2025-10-05 21:36:22 25.05.20251001.5b5be50 6.12.49 *

This commit is contained in:
2025-10-05 21:39:16 -05:00
parent 9e6a4aaf7b
commit ac173b25e1
2 changed files with 3 additions and 3 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: 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"; description = "blakes nix config";
inputs = { inputs = {

View File

@@ -24,11 +24,11 @@ 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 -"]; systemd.tmpfiles.rules = lib.optionals (cfg.mode == "server") ["d /var/lib/syncthing 0775 blake blake -"];
services.syncthing = { services.syncthing = {
enable = true; 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"; group = if cfg.mode == "server" then "blake" else "blake";
dataDir = cfg.data_dir; dataDir = cfg.data_dir;
guiAddress = "0.0.0.0:2222"; guiAddress = "0.0.0.0:2222";