stable machine id

This commit is contained in:
Christoph Cullmann 2024-03-28 21:37:26 +01:00
parent b0e9502903
commit ba3a3a40da

View file

@ -123,6 +123,7 @@ in
# keep some stuff persistent # keep some stuff persistent
environment.persistence."/nix/persistent" = { environment.persistence."/nix/persistent" = {
hideMounts = true;
directories = [ directories = [
# systemd timers # systemd timers
{ directory = "/var/lib/systemd/timers"; user = "root"; group = "root"; mode = "u=rwx,g=rx,o=rx"; } { directory = "/var/lib/systemd/timers"; user = "root"; group = "root"; mode = "u=rwx,g=rx,o=rx"; }
@ -130,6 +131,9 @@ in
# clamav database # clamav database
{ directory = "/var/lib/clamav"; user = "clamav"; group = "clamav"; mode = "u=rwx,g=rx,o=rx"; } { directory = "/var/lib/clamav"; user = "clamav"; group = "clamav"; mode = "u=rwx,g=rx,o=rx"; }
]; ];
files = [
"/etc/machine-id"
];
}; };
# enable fast dbus # enable fast dbus