Migrate to flakes
This commit is contained in:
@@ -41,7 +41,7 @@ in {
|
||||
quiet = true;
|
||||
protocol = "duckdns";
|
||||
domains = [ "coolneng.duckdns.org" ];
|
||||
passwordFile = "/var/keys/ddclient";
|
||||
passwordFile = config.age.secrets.ddclient.path;
|
||||
};
|
||||
|
||||
# Firewall configuration
|
||||
@@ -73,7 +73,7 @@ in {
|
||||
wg0 = {
|
||||
ips = [ "10.8.0.1/24" ];
|
||||
listenPort = wireguard_port;
|
||||
privateKeyFile = "/home/coolneng/.wg/keys/privatekey";
|
||||
privateKeyFile = config.age.secrets.wireguard.path;
|
||||
peers = [
|
||||
# panacea
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user