From ba3a3a40da25a9d2a4251890b468197cb1029aed Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Thu, 28 Mar 2024 21:37:26 +0100 Subject: stable machine id --- common.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common.nix') diff --git a/common.nix b/common.nix index 6e40609..500f007 100644 --- a/common.nix +++ b/common.nix @@ -123,6 +123,7 @@ in # keep some stuff persistent environment.persistence."/nix/persistent" = { + hideMounts = true; directories = [ # systemd timers { directory = "/var/lib/systemd/timers"; user = "root"; group = "root"; mode = "u=rwx,g=rx,o=rx"; } @@ -130,6 +131,9 @@ in # clamav database { directory = "/var/lib/clamav"; user = "clamav"; group = "clamav"; mode = "u=rwx,g=rx,o=rx"; } ]; + files = [ + "/etc/machine-id" + ]; }; # enable fast dbus -- cgit v1.2.3