162 current 2025-10-09 14:06:28 25.05.20251006.20c4598 6.12.50 *
This commit is contained in:
@@ -56,7 +56,7 @@ in
|
||||
};
|
||||
|
||||
# enable the vaultwarden service
|
||||
services.vaultwarden = {
|
||||
services.${services} = {
|
||||
enable = true;
|
||||
config = {
|
||||
DOMAIN = domain;
|
||||
@@ -79,7 +79,7 @@ in
|
||||
};
|
||||
|
||||
# override umask to make permissions work out
|
||||
systemd.services.vaultwarden.serviceConfig = { UMask = lib.mkForce "0007"; };
|
||||
systemd.services.${services}.serviceConfig = { UMask = lib.mkForce "0007"; };
|
||||
|
||||
# open firewall
|
||||
networking.firewall.allowedTCPPorts = [ cfg.port ];
|
||||
|
||||
Reference in New Issue
Block a user