diff --git a/modules/networking.nix b/modules/networking.nix index 2252507..512abec 100644 --- a/modules/networking.nix +++ b/modules/networking.nix @@ -1,8 +1,6 @@ { config, pkgs, lib, ... }: -let password = builtins.readFile /var/keys/ddclient; - -in { +{ # Assign a static IP networking = { hostName = "zion"; @@ -41,7 +39,7 @@ in { quiet = true; protocol = "duckdns"; domains = [ "coolneng.duckdns.org" ]; - inherit password; + passwordFile = builtins.readFile /var/keys/ddclient; }; # Firewall configuration