loki: Make logind ignore power button, make suspend key hibernate the system

This commit is contained in:
Erwin Boskma 2024-10-03 11:59:29 +02:00
parent 31e1c335e8
commit 6f927ad62f
Signed by: erwin
SSH key fingerprint: SHA256:/Wk1WZdLg+vQHs3in9qq7PsIp8SMzwGSk/RLZ5zPuZk

View file

@ -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;