Persist adguard-home state
This commit is contained in:
parent
a121569f84
commit
49f2ada271
1 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
services.adguardhome = {
|
||||
enable = true;
|
||||
port = 3000;
|
||||
mutableSettings = true;
|
||||
settings = {
|
||||
openFirewall = true;
|
||||
};
|
||||
|
@ -11,4 +12,7 @@
|
|||
53
|
||||
];
|
||||
networking.firewall.allowedUDPPorts = [ 53 ];
|
||||
environment.persistence."/persist".directories = [
|
||||
"/var/lib/AdGuardHome"
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue