summaryrefslogtreecommitdiff
path: root/modules/root/powerkeys.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/root/powerkeys.nix')
-rw-r--r--modules/root/powerkeys.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/root/powerkeys.nix b/modules/root/powerkeys.nix
new file mode 100644
index 0000000..dcb3616
--- /dev/null
+++ b/modules/root/powerkeys.nix
@@ -0,0 +1,7 @@
+{
+ services.logind = {
+ powerKey = "ignore";
+ powerKeyLongPress = "poweroff";
+ hibernateKey = "suspend";
+ };
+}