added logind handling
This commit is contained in:
parent
c8d1b42e97
commit
31eb76d1de
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue