added logind handling

This commit is contained in:
twoneis 2024-07-22 02:27:33 +02:00
parent c8d1b42e97
commit 31eb76d1de

View file

@ -11,6 +11,12 @@
package = pkgs.niri-unstable; package = pkgs.niri-unstable;
}; };
services.logind = {
powerKey = "shutdown";
powerKeyLongPress = "reboot";
lidSwitch = "poweroff";
};
home-manager.users.${config.username} = { home-manager.users.${config.username} = {
home.packages = with pkgs; [ home.packages = with pkgs; [
brightnessctl brightnessctl