Skip to content

Commit

Permalink
fix: moves away from X-RestartIfChanged which is supposed to be boolean.
Browse files Browse the repository at this point in the history
  • Loading branch information
SEIAROTg committed Dec 3, 2024
1 parent bc9d2a3 commit 1083667
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nixos-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ in
map (p: {
${p._unitName} = {
overrideStrategy = "asDropin";
text = "[Unit]\nX-RestartIfChanged=${builtins.hashString "sha256" p._configText}";
text = ''
[Unit]
X-QuadletNixConfigHash=${builtins.hashString "sha256" p._configText}
'';
};
}) allObjects
);
Expand Down

0 comments on commit 1083667

Please sign in to comment.