don't keep logs

This commit is contained in:
Chris Dombroski 2024-05-11 13:23:02 -04:00
parent 947ee84b47
commit e2be9d89e0

View file

@ -41,16 +41,19 @@
device = "/persist/swapfile"; device = "/persist/swapfile";
size = 1024; size = 1024;
}]; }];
services.unbound = { services = {
enable = true; unbound = {
settings = { enable = true;
server = { settings = {
qname-minimisation = "yes"; server = {
interface = [ "end0" ]; qname-minimisation = "yes";
access-control = [ "10.0.0.0/8 allow" "fc::/7 allow" ]; interface = [ "end0" ];
access-control = [ "10.0.0.0/8 allow" "fc::/7 allow" ];
};
include = [ "/etc/unbound/ads.conf" "${./unbound-local.conf}" ];
}; };
include = [ "/etc/unbound/ads.conf" "${./unbound-local.conf}" ];
}; };
journald.storage = "volatile";
}; };
systemd = { systemd = {
@ -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"