Change password with passwordFile in ddclient
This commit is contained in:
parent
f8dda2a8f7
commit
a0aeac833b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue