create www-data

This commit is contained in:
Danilo Reyes
2026-02-06 08:21:24 -06:00
parent 17cd7ba593
commit 005addff1b

View File

@@ -1,6 +1,7 @@
{
config,
lib,
pkgs,
inputs,
...
}:
@@ -134,16 +135,25 @@ in
groups = {
deploy = { };
lidarr-reports = { };
www-data = { };
};
users = {
nginx.extraGroups = [ "www-data" ];
deploy = {
isSystemUser = true;
group = "deploy";
home = "/var/lib/deploy";
createHome = true;
shell = pkgs.bashInteractive;
extraGroups = [ "www-data" ];
openssh.authorizedKeys.keyFiles = [ ../../secrets/ssh/ed25519_deploy.pub ];
};
lidarr-reports = {
isSystemUser = true;
group = "lidarr-reports";
home = "/var/lib/lidarr-reports";
createHome = true;
shell = pkgs.bashInteractive;
openssh.authorizedKeys.keyFiles = [ ../../secrets/ssh/ed25519_lidarr-reports.pub ];
};
};