We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d40af30 commit 3081647Copy full SHA for 3081647
nix/nixos-module.nix
@@ -46,8 +46,8 @@ in {
46
RestartSec = 5;
47
User = "defguard";
48
Group = "defguard";
49
- StateDirectory = "defguard";
50
- LogsDirectory = "defguard";
+ StateDirectory = "defguard-service";
+ LogsDirectory = "defguard-service";
51
# Add capabilities to manage network interfaces
52
CapabilityBoundingSet = "CAP_NET_ADMIN CAP_NET_RAW CAP_SYS_MODULE";
53
AmbientCapabilities = "CAP_NET_ADMIN CAP_NET_RAW CAP_SYS_MODULE";
@@ -73,6 +73,7 @@ in {
73
group = "defguard";
74
};
75
76
+ # Make sure the group exists
77
users.groups.defguard = {};
78
79
}
0 commit comments