mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-12-22 01:25:52 +01:00
fix suspension
This commit is contained in:
parent
30f0f7ec20
commit
6a706007c8
2 changed files with 7 additions and 0 deletions
|
@ -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