This commit is contained in:
fleaz 2022-03-02 15:28:37 +01:00
parent 05a203c066
commit 1148de4f8a
5 changed files with 58 additions and 56 deletions

View file

@ -1,7 +1,7 @@
{
programs.git = {
programs.git = {
enable = true;
ignores = [".vscode"];
ignores = [ ".vscode" ];
userName = "fleaz";
userEmail = "mail@felixbreidenstein.de";
aliases = {
@ -25,5 +25,5 @@ programs.git = {
};
};
}];
};
};
}

View file

@ -45,11 +45,13 @@ in
bars = [{ command = "${pkgs.waybar}/bin/waybar"; }];
startup = [
{ command = ''${pkgs.swayidle}/bin/swayidle -w \
{
command = ''${pkgs.swayidle}/bin/swayidle -w \
timeout 300 "${lockCmd}" \
timeout 600 "${pkgs.sway}/bin/swaymsg output * dpms off" \
resume "${pkgs.sway}/bin/swaymsg output * dpms on" \
before-sleep "${lockCmd}"''; }
before-sleep "${lockCmd}"'';
}
];

View file

@ -1,4 +1,4 @@
{
# Allow swaylock to talk to PAM
security.pam.services.swaylock = {};
security.pam.services.swaylock = { };
}

@ -1 +1 @@
Subproject commit 3af42978d507ad02777179cec8ef4029d103cdc3
Subproject commit ccfeeb06bf7ad992c1ba8a69b6823a574b2df5a1