Make adguardhome settings immutable

This commit is contained in:
Evie Litherland-Smith 2023-10-22 06:07:05 +01:00
parent c50ef8c1e9
commit 9dcceed7c0

View file

@ -1,11 +1,14 @@
{ ... }: { config, lib, pkgs, ... }:
{ {
imports = [ ../traefik/adguardhome.nix ]; imports = [ ../traefik/adguardhome.nix ];
services.adguardhome = { services.adguardhome = {
enable = true; enable = true;
mutableSettings = true; mutableSettings = false;
settings.bind_port = 3001; settings = {
bind_port = 3001;
# schema_version = 14;
};
openFirewall = true; openFirewall = true;
}; };
networking.firewall = { networking.firewall = {