diff --git a/modules/global/persist.nix b/modules/global/persist.nix index f0d7223..7cf5e5a 100644 --- a/modules/global/persist.nix +++ b/modules/global/persist.nix @@ -23,4 +23,8 @@ in "/etc/machine-id" ]; }; + + # https://github.com/NixOS/nixpkgs/pull/351151 + boot.initrd.systemd.suppressedUnits = [ "systemd-machine-id-commit.service" ]; + systemd.suppressedSystemUnits = [ "systemd-machine-id-commit.service" ]; }