Migrate to flakes

This commit is contained in:
2022-06-06 23:12:54 +02:00
parent 6ce94605b5
commit 1260e3ba3c
13 changed files with 100 additions and 7 deletions

View File

@@ -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
{