freun-dev: fix hastebin

This commit is contained in:
Joakim Repomaa
2025-02-20 11:08:48 +02:00
parent 208d566e14
commit 484d68c776
2 changed files with 20 additions and 1 deletions

View File

@@ -37,6 +37,18 @@ in
auth_tokens_file = secrets.hastebin-tokens.path;
};
users.users.hastebin = {
isSystemUser = true;
group = "hastebin";
};
users.groups.hastebin = { };
systemd.services.hastebin.serviceConfig = {
DynamicUser = lib.mkForce false;
User = "hastebin";
};
services.webserver = {
enable = lib.mkDefault true;
vHosts.${fqdn} = {