fix: systemd-machine-id-commit with bind mount

This commit is contained in:
Patrick 2024-11-05 15:19:33 +01:00
parent 6d68170211
commit 063a049ffc
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F

View file

@ -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;