Skip to content

Commit

Permalink
fix: suppress systemd-machine-id-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
timon-schelling committed Nov 4, 2024
1 parent 04f0813 commit c6351f8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/system/base/persist/nixos/system.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@

# needed for systemd and some programs that need a persistent machine id
platform.system.persist.files = [ "/etc/machine-id" ];

# TODO: remove this once we have a proper solution for this
# see https://github.com/nix-community/impermanence/issues/229
systemd.suppressedSystemUnits = ["systemd-machine-id-commit.service"];
}

0 comments on commit c6351f8

Please sign in to comment.