From c318d373da3533bba7d7fbef52d53c4eec1c2116 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Mon, 18 Nov 2024 11:09:44 -0500 Subject: [PATCH] global/persist: disable systemd-machine-id-commit --- modules/global/persist.nix | 4 ++++ 1 file changed, 4 insertions(+) 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" ]; }