aboutsummaryrefslogtreecommitdiff
path: root/nixos/hosts
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-12-26 09:36:37 +0100
committerMartin Fischer <martin@push-f.com>2025-12-26 09:36:37 +0100
commit193b3f4df854a83d32611ed3d77962e1c839e707 (patch)
tree2e9f99fa57990132455305f88ab7746893a6b164 /nixos/hosts
parent6d89835197a8e5a342d73b5e38dab06112312e9b (diff)
refactor: rename www-data group to www-personal
Diffstat (limited to 'nixos/hosts')
-rw-r--r--nixos/hosts/tente/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/hosts/tente/default.nix b/nixos/hosts/tente/default.nix
index e853d12..3a92286 100644
--- a/nixos/hosts/tente/default.nix
+++ b/nixos/hosts/tente/default.nix
@@ -52,12 +52,12 @@ in
time.timeZone = "Europe/Vienna";
users.groups = {
- www-data = {};
www-generator = {};
+ www-personal = {};
};
systemd.tmpfiles.rules = [
- "d /srv/www 2770 root www-data -"
+ "d /srv/www/${baseDomain} 2770 root www-personal -"
];
users.users = {
@@ -65,14 +65,14 @@ in
isNormalUser = true;
extraGroups = [
"wheel" # Enable ‘sudo’ for the user.
- "www-data"
+ "www-personal"
];
};
nginx = {
isSystemUser = true;
extraGroups = [
- "www-data"
+ "www-personal"
];
};