things and stuff
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ config, service_configs, ... }:
|
||||
{ config, service_configs, username, ... }:
|
||||
{
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
@@ -38,4 +38,8 @@
|
||||
networking.firewall.allowedUDPPorts = [
|
||||
service_configs.ports.https
|
||||
];
|
||||
|
||||
users.users.${username}.extraGroups = [
|
||||
config.services.caddy.group
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user