pinwheel: Add swaylock
This commit is contained in:
@@ -166,6 +166,12 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
security.pam.services.swaylock.text = ''
|
||||||
|
# PAM configuration file for the swaylock screen locker. By default, it includes
|
||||||
|
# the 'login' configuration file (see /etc/pam.d/login)
|
||||||
|
auth include login
|
||||||
|
'';
|
||||||
|
|
||||||
age = {
|
age = {
|
||||||
identityPaths = [ "/etc/ssh/pinwheel" ];
|
identityPaths = [ "/etc/ssh/pinwheel" ];
|
||||||
|
|
||||||
|
|||||||
@@ -181,6 +181,7 @@
|
|||||||
move = builtins.genList (x: "$mod SHIFT, ${ws x}, movetoworkspacesilent, ${builtins.toString (x + 1)}") 10;
|
move = builtins.genList (x: "$mod SHIFT, ${ws x}, movetoworkspacesilent, ${builtins.toString (x + 1)}") 10;
|
||||||
in
|
in
|
||||||
select ++ move ++ [
|
select ++ move ++ [
|
||||||
|
"$mod, x, exec, swaylock"
|
||||||
"$mod SHIFT, x, exec, systemctl suspend"
|
"$mod SHIFT, x, exec, systemctl suspend"
|
||||||
|
|
||||||
"$mod, RETURN, exec, foot"
|
"$mod, RETURN, exec, foot"
|
||||||
@@ -236,6 +237,15 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
style = '''';
|
style = '''';
|
||||||
|
|
||||||
|
programs.swaylock = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
color = "000000";
|
||||||
|
indicator-idle-visible = false;
|
||||||
|
show-failed-attempts = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.dunst.enable = true;
|
services.dunst.enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user