Loading nixos/modules/services/hardware/kmonad.nix +13 −0 Original line number Diff line number Diff line Loading @@ -155,6 +155,19 @@ let config.users.groups.uinput.name ] ++ keyboard.extraGroups; }; # make sure the new config is used after nixos-rebuild switch # stopIfChanged controls[0] how a service is "restarted" during # nixos-rebuild switch. By default, stopIfChanged is true, which stops # the old service and then starts the new service after config updates. # Since we use path-based activation[1] here, the service unit will # immediately[2] be started by the path unit. Probably that start is # before config updates, whcih causes the service unit to use the old # config after nixos-rebuild switch. Setting stopIfChanged to false works # around this issue by restarting the service after config updates. # [0]: https://nixos.org/manual/nixos/unstable/#sec-switching-systems # [1]: man 7 daemon # [2]: man 5 systemd.path stopIfChanged = false; }; in { Loading Loading
nixos/modules/services/hardware/kmonad.nix +13 −0 Original line number Diff line number Diff line Loading @@ -155,6 +155,19 @@ let config.users.groups.uinput.name ] ++ keyboard.extraGroups; }; # make sure the new config is used after nixos-rebuild switch # stopIfChanged controls[0] how a service is "restarted" during # nixos-rebuild switch. By default, stopIfChanged is true, which stops # the old service and then starts the new service after config updates. # Since we use path-based activation[1] here, the service unit will # immediately[2] be started by the path unit. Probably that start is # before config updates, whcih causes the service unit to use the old # config after nixos-rebuild switch. Setting stopIfChanged to false works # around this issue by restarting the service after config updates. # [0]: https://nixos.org/manual/nixos/unstable/#sec-switching-systems # [1]: man 7 daemon # [2]: man 5 systemd.path stopIfChanged = false; }; in { Loading