loki: Make logind ignore power button, make suspend key hibernate the system
This commit is contained in:
parent
31e1c335e8
commit
6f927ad62f
1 changed files with 11 additions and 0 deletions
|
@ -380,6 +380,17 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
logind = {
|
||||||
|
hibernateKey = "ignore";
|
||||||
|
powerKey = "ignore";
|
||||||
|
rebootKey = "ignore";
|
||||||
|
suspendKey = "hibernate";
|
||||||
|
hibernateKeyLongPress = "ignore";
|
||||||
|
powerKeyLongPress = "ignore";
|
||||||
|
rebootKeyLongPress = "ignore";
|
||||||
|
suspendKeyLongPress = "ignore";
|
||||||
|
};
|
||||||
|
|
||||||
openssh.enable = true;
|
openssh.enable = true;
|
||||||
|
|
||||||
colord.enable = true;
|
colord.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue