Change what power keys do, set new xdg default apps

This commit is contained in:
Bun 2025-05-12 20:07:11 -04:00
parent f0bd401ef4
commit 822fa6eae2
3 changed files with 20 additions and 4 deletions

View file

@ -3,6 +3,7 @@
imports = [
./font
./locale
./logind
./minimal
./nix
./security

View file

@ -0,0 +1,8 @@
{ config, lib, ... }:
{
services.logind = {
killUserProcesses = true;
powerKey = lib.mkIf config.system.desktop.enable "suspend";
powerKeyLongPress = "reboot";
};
}