Skip to content

Commit d5493eb

Browse files
kira-bruneaucab404
authored andcommitted
nixos/klipper: restart when config changes
1 parent 809f978 commit d5493eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nixos/modules/services/misc/klipper.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ in
209209
popd
210210
'';
211211

212+
restartTriggers = lib.optional (!cfg.mutableConfig) [ printerConfig ];
213+
212214
serviceConfig =
213215
{
214216
ExecStart = "${cfg.package}/bin/klippy ${klippyArgs} ${cfg.configDir}/printer.cfg";

0 commit comments

Comments
 (0)