diff --git a/configuration.nix b/configuration.nix index 39604fe..8e4e49f 100644 --- a/configuration.nix +++ b/configuration.nix @@ -6,7 +6,7 @@ boot.loader.generic-extlinux-compatible.enable = true; # A bunch of boot parameters needed for optimal runtime on RPi 3B - boot.kernelParams = ["cma=32M" "zfs.zfs_arc_max=12884901888"]; + boot.kernelParams = ["cma=32M" "zfs.zfs_arc_max=134217728"]; boot.loader.raspberryPi = { enable = true; version = 3; diff --git a/modules/networking.nix b/modules/networking.nix index 1bd9a00..86c5d54 100644 --- a/modules/networking.nix +++ b/modules/networking.nix @@ -9,10 +9,8 @@ avahi ddclient wireguard - wireguard-tools ]; - # Enable zeroconf services.avahi = { enable = true; diff --git a/modules/webstack.nix b/modules/webstack.nix index 4a330a4..29e3e4e 100644 --- a/modules/webstack.nix +++ b/modules/webstack.nix @@ -76,10 +76,13 @@ }; # ACME certs configuration - security.acme.certs = { - "coolneng.duckdns.org" = { - email = "akasroua@gmail.com"; - postRun = "systemctl reload nginx.service"; + security.acme = { + acceptTerms = true; + email = "akasroua@gmail.com"; + certs = { + "coolneng.duckdns.org" = { + postRun = "systemctl reload nginx.service"; + }; }; }; @@ -130,6 +133,7 @@ adminCredentialsFile = "/var/keys/miniflux/admin"; config = { BASE_URL = "https://coolneng.duckdns.org/miniflux/"; + RUN_MIGRATIONS = "1"; }; };