Change password with passwordFile in ddclient
This commit is contained in:
parent
f8dda2a8f7
commit
a0aeac833b
|
@ -1,8 +1,6 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
let password = builtins.readFile /var/keys/ddclient;
|
{
|
||||||
|
|
||||||
in {
|
|
||||||
# Assign a static IP
|
# Assign a static IP
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "zion";
|
hostName = "zion";
|
||||||
|
@ -41,7 +39,7 @@ in {
|
||||||
quiet = true;
|
quiet = true;
|
||||||
protocol = "duckdns";
|
protocol = "duckdns";
|
||||||
domains = [ "coolneng.duckdns.org" ];
|
domains = [ "coolneng.duckdns.org" ];
|
||||||
inherit password;
|
passwordFile = builtins.readFile /var/keys/ddclient;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Firewall configuration
|
# Firewall configuration
|
||||||
|
|
Loading…
Reference in New Issue