Move duckdns secret to file
Move duckdns secret to file Replace 'fromTOML' with 'readFile'
This commit is contained in:
parent
427c0b3fb7
commit
cdea9f3b7b
|
@ -1,4 +1,8 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
|
let password = builtins.readFile /var/lib/ddclient/token;
|
||||||
|
|
||||||
|
in
|
||||||
{
|
{
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
@ -11,7 +15,7 @@
|
||||||
quiet = true;
|
quiet = true;
|
||||||
protocol = "duckdns";
|
protocol = "duckdns";
|
||||||
domains = [ "coolneng.duckdns.org" ];
|
domains = [ "coolneng.duckdns.org" ];
|
||||||
password = "7eebec3b-945a-4ab5-a6d4-e3a8e2eee4eb";
|
inherit password;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Firewall configuration
|
# Firewall configuration
|
||||||
|
|
Loading…
Reference in New Issue