diff --git a/nixos/machines/biskcomp.nix b/nixos/machines/biskcomp.nix index c050cef7..092cca0a 100644 --- a/nixos/machines/biskcomp.nix +++ b/nixos/machines/biskcomp.nix @@ -7,6 +7,12 @@ in ../raspberry-pi.nix ]; + users.users.nginx = { + group = "nginx"; + isSystemUser = true; + extraGroups = ["syncthing"]; + }; + modules.raspberry-pi.enable = true; modules.base.enable = true; diff --git a/nixos/users.nix b/nixos/users.nix index 9ba98a20..91d4a25e 100644 --- a/nixos/users.nix +++ b/nixos/users.nix @@ -28,11 +28,6 @@ in home = "/var/lib/syncthing"; createHome = true; }; - nginx = { - group = "nginx"; - isSystemUser = true; - extraGroups = ["syncthing"]; - }; imalison = userDefaults // { extraGroups = extraGroupsWithWheel; name = "imalison";