mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-24 22:18:43 +01:00
fix suspension
This commit is contained in:
parent
30f0f7ec20
commit
6a706007c8
|
@ -56,10 +56,12 @@ with builtins; {
|
||||||
iw
|
iw
|
||||||
btop
|
btop
|
||||||
nodejs
|
nodejs
|
||||||
|
|
||||||
maven
|
maven
|
||||||
jetbrains.idea-ultimate
|
jetbrains.idea-ultimate
|
||||||
jetbrains.rust-rover
|
jetbrains.rust-rover
|
||||||
jdk
|
jdk
|
||||||
|
|
||||||
libsecret
|
libsecret
|
||||||
fzf
|
fzf
|
||||||
ripgrep
|
ripgrep
|
||||||
|
@ -96,6 +98,7 @@ with builtins; {
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
systemd-lock-handler.enable = true;
|
||||||
openssh = {
|
openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# settings.PasswordAuthentication = false;
|
# settings.PasswordAuthentication = false;
|
||||||
|
|
|
@ -20,6 +20,10 @@
|
||||||
services.swayidle = {
|
services.swayidle = {
|
||||||
enable = true;
|
enable = true;
|
||||||
events = [
|
events = [
|
||||||
|
{
|
||||||
|
event = "before-sleep";
|
||||||
|
command = "${pkgs.swaylock}/bin/swaylock -fF -c 442244";
|
||||||
|
}
|
||||||
{
|
{
|
||||||
event = "lock";
|
event = "lock";
|
||||||
command = "swaylock -c 441144";
|
command = "swaylock -c 441144";
|
||||||
|
|
Loading…
Reference in a new issue