don't keep logs
This commit is contained in:
parent
947ee84b47
commit
e2be9d89e0
1 changed files with 12 additions and 9 deletions
|
@ -41,7 +41,8 @@
|
||||||
device = "/persist/swapfile";
|
device = "/persist/swapfile";
|
||||||
size = 1024;
|
size = 1024;
|
||||||
}];
|
}];
|
||||||
services.unbound = {
|
services = {
|
||||||
|
unbound = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
server = {
|
server = {
|
||||||
|
@ -52,6 +53,8 @@
|
||||||
include = [ "/etc/unbound/ads.conf" "${./unbound-local.conf}" ];
|
include = [ "/etc/unbound/ads.conf" "${./unbound-local.conf}" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
journald.storage = "volatile";
|
||||||
|
};
|
||||||
|
|
||||||
systemd = {
|
systemd = {
|
||||||
services.adblock = {
|
services.adblock = {
|
||||||
|
@ -75,7 +78,7 @@
|
||||||
];
|
];
|
||||||
persistence."/persist" = {
|
persistence."/persist" = {
|
||||||
hideMounts = true;
|
hideMounts = true;
|
||||||
directories = [ "/var/lib/nixos" "/var/log" "/var/lib/systemd" "/tmp" ];
|
directories = [ "/var/lib/nixos" "/var/lib/systemd" "/tmp" ];
|
||||||
files = [
|
files = [
|
||||||
"/etc/machine-id"
|
"/etc/machine-id"
|
||||||
"/etc/adjtime"
|
"/etc/adjtime"
|
||||||
|
|
Loading…
Reference in a new issue