From 063a049ffcb4ffa6c3a21ccbbd1ab95a691e2b93 Mon Sep 17 00:00:00 2001 From: Patrick Date: Tue, 5 Nov 2024 15:19:33 +0100 Subject: [PATCH] fix: systemd-machine-id-commit with bind mount --- config/basic/impermanence.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/basic/impermanence.nix b/config/basic/impermanence.nix index c1c311a..72de0bb 100644 --- a/config/basic/impermanence.nix +++ b/config/basic/impermanence.nix @@ -43,6 +43,9 @@ let ''; in { + # https://github.com/nix-community/impermanence/issues/229 + boot.initrd.systemd.suppressedUnits = [ "systemd-machine-id-commit.service" ]; + systemd.suppressedSystemUnits = [ "systemd-machine-id-commit.service" ]; # to allow all users to access hm managed persistent folders lib.scripts.impermanence.pruneScripts = lib.mapAttrs (k: _: prune k) config.environment.persistence; programs.fuse.userAllowOther = true;