fix suspension

This commit is contained in:
Schrottkatze 2024-11-03 19:48:04 +01:00
parent 30f0f7ec20
commit 6a706007c8
No known key found for this signature in database
2 changed files with 7 additions and 0 deletions

View file

@ -56,10 +56,12 @@ with builtins; {
iw
btop
nodejs
maven
jetbrains.idea-ultimate
jetbrains.rust-rover
jdk
libsecret
fzf
ripgrep
@ -96,6 +98,7 @@ with builtins; {
};
services = {
systemd-lock-handler.enable = true;
openssh = {
enable = true;
# settings.PasswordAuthentication = false;

View file

@ -20,6 +20,10 @@
services.swayidle = {
enable = true;
events = [
{
event = "before-sleep";
command = "${pkgs.swaylock}/bin/swaylock -fF -c 442244";
}
{
event = "lock";
command = "swaylock -c 441144";