nixos/sddm: always run systemctl of the currently running systemd
This commit is contained in:
parent
3fcfcb8bcb
commit
de358a00b5
@ -30,8 +30,8 @@ let
|
|||||||
|
|
||||||
cfgFile = pkgs.writeText "sddm.conf" ''
|
cfgFile = pkgs.writeText "sddm.conf" ''
|
||||||
[General]
|
[General]
|
||||||
HaltCommand=${pkgs.systemd}/bin/systemctl poweroff
|
HaltCommand=/run/current-system/systemd/bin/systemctl poweroff
|
||||||
RebootCommand=${pkgs.systemd}/bin/systemctl reboot
|
RebootCommand=/run/current-system/systemd/bin/systemctl reboot
|
||||||
${optionalString cfg.autoNumlock ''
|
${optionalString cfg.autoNumlock ''
|
||||||
Numlock=on
|
Numlock=on
|
||||||
''}
|
''}
|
||||||
|
Loading…
Reference in New Issue
Block a user