From efdd6a8bcecac0cf8e1fa2ec3e6483f371d10d5b Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 13 Feb 2024 22:20:05 +0900 Subject: [PATCH] Update groups --- nixos/hosts/nixos-framework/syncthing.nix | 2 +- nixos/users/albert/default.nix | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/nixos/hosts/nixos-framework/syncthing.nix b/nixos/hosts/nixos-framework/syncthing.nix index cc29a279..f1a448a6 100644 --- a/nixos/hosts/nixos-framework/syncthing.nix +++ b/nixos/hosts/nixos-framework/syncthing.nix @@ -3,7 +3,7 @@ services.syncthing = { enable = true; - # user = "${username}"; + user = "${username}"; settings = { folders = { "world-of-warcraft" = { diff --git a/nixos/users/albert/default.nix b/nixos/users/albert/default.nix index 42f31bab..8af1e663 100644 --- a/nixos/users/albert/default.nix +++ b/nixos/users/albert/default.nix @@ -12,8 +12,9 @@ in { description = "Albert J. Copeland"; # video is required for the "light" command to work extraGroups = [ "networkmanager" "wheel" ] - ++ ifExists [ "video" ] - ++ ifExists [ "docker" ]; + ++ ifExists [ "video" ] + ++ ifExists [ "docker" ] + ++ ifExists [ "syncthing" ]; # mkpasswd -m sha-512 hashedPassword = "$y$j9T$wKLsIWaA4Gf63RvjedwLJ0$EHKL6BBJV0CAxEKcHHjaBqW085KJ/MGvmbyWzmcWOy6"; packages = [ pkgs.home-manager ];