freun-dev: fix hastebin
This commit is contained in:
@@ -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} = {
|
||||
|
||||
Reference in New Issue
Block a user