Improve / fix screen lock and brightness buttons

This commit is contained in:
2024-06-19 23:42:33 +02:00
parent 05e71d800d
commit 8cee271d91
3 changed files with 24 additions and 3 deletions

View File

@ -118,6 +118,21 @@
services.xserver.windowManager.i3.package = pkgs.i3-gaps;
services.blueman.enable = true;
services.upower.enable = true;
# TODO: move into i3 module
programs.xss-lock = {
# responds to "loginctl lock-session" via dbus
enable = true;
lockerCommand = "${pkgs.i3lock}/bin/i3lock --ignore-empty-password --color=000000";
};
# services.xserver.xautolock = { # TODO: does not work
# enable = true;
# time = 1;
# };
programs.dconf.enable = true;
services.logind.lidSwitch = "lock";
services.logind.lidSwitchDocked = "lock";
programs.kdeconnect.enable = true;
@ -263,6 +278,8 @@
frajul.pulseaudio-popup
gparted-xhost # needs to be installed as system package so it can be actually opened
xclip
brightnessctl
];
virtualisation.docker.enable = true;