feat: cleanup
This commit is contained in:
parent
debe0477d9
commit
26a5439ce9
1 changed files with 1 additions and 6 deletions
|
@ -13,14 +13,9 @@
|
|||
dhcpcd.extraConfig = "nohook resolv.conf";
|
||||
};
|
||||
|
||||
config.users.users.dnscrypt.isSystemUser = true;
|
||||
config.users.users.dnscrypt.group = "dnscrypt";
|
||||
config.users.groups.dnscrypt = { };
|
||||
|
||||
# configure secret for forwarding rules
|
||||
config.sops.secrets."system/networking/dnscrypt-proxy2/forwarding-rules".sopsFile = ./dnscrypt-proxy2.sops.yaml;
|
||||
config.sops.secrets."system/networking/dnscrypt-proxy2/forwarding-rules".mode = "0444";
|
||||
config.sops.secrets."system/networking/dnscrypt-proxy2/forwarding-rules".path = "/run/dnscrypt-forwarding-rules.txt";
|
||||
config.sops.secrets."system/networking/dnscrypt-proxy2/forwarding-rules".mode = "0444"; # This is world-readable but theres nothing security related in the file
|
||||
|
||||
# Restart dnscrypt when secret changes
|
||||
config.sops.secrets."system/networking/dnscrypt-proxy2/forwarding-rules".restartUnits = [ "dnscrypt-proxy2" ];
|
||||
|
|
Reference in a new issue