mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-21 12:54:41 +01:00
fix suspension
This commit is contained in:
parent
30f0f7ec20
commit
6a706007c8
|
@ -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;
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue