summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2024-03-28 21:37:26 +0100
committerChristoph Cullmann <cullmann@kde.org>2024-03-28 21:37:26 +0100
commitba3a3a40da25a9d2a4251890b468197cb1029aed (patch)
tree219bc557f97e483cc43a608b38f118c401db4f8c
parentb0e95029039d969b612d29196296339d75b8b68c (diff)
stable machine id
-rw-r--r--common.nix4
1 files changed, 4 insertions, 0 deletions
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