kdm: Do a poweroff, not a halt
This commit is contained in:
parent
ebb1781dfc
commit
cdc3604a7d
@ -12,8 +12,8 @@ let
|
|||||||
defaultConfig =
|
defaultConfig =
|
||||||
''
|
''
|
||||||
[Shutdown]
|
[Shutdown]
|
||||||
HaltCmd=${config.system.build.systemd}/sbin/halt
|
HaltCmd=${config.system.build.systemd}/sbin/shutdown -h now
|
||||||
RebootCmd=${config.system.build.systemd}/sbin/reboot
|
RebootCmd=${config.system.build.systemd}/sbin/shutdown -r now
|
||||||
${optionalString (config.system.boot.loader.id == "grub") ''
|
${optionalString (config.system.boot.loader.id == "grub") ''
|
||||||
BootManager=${if config.boot.loader.grub.version == 2 then "Grub2" else "Grub"}
|
BootManager=${if config.boot.loader.grub.version == 2 then "Grub2" else "Grub"}
|
||||||
''}
|
''}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user