fix: systemd-machine-id-commit with bind mount
This commit is contained in:
parent
6d68170211
commit
063a049ffc
|
@ -43,6 +43,9 @@ let
|
||||||
'';
|
'';
|
||||||
in
|
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
|
# to allow all users to access hm managed persistent folders
|
||||||
lib.scripts.impermanence.pruneScripts = lib.mapAttrs (k: _: prune k) config.environment.persistence;
|
lib.scripts.impermanence.pruneScripts = lib.mapAttrs (k: _: prune k) config.environment.persistence;
|
||||||
programs.fuse.userAllowOther = true;
|
programs.fuse.userAllowOther = true;
|
||||||
|
|
Loading…
Reference in a new issue