Add swaylock

This commit is contained in:
outfoxxed 2023-06-28 01:54:58 -07:00
parent 2d79317ef4
commit 902e1a92da
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E

View file

@ -36,6 +36,8 @@ in {
]; ];
}; };
security.pam.services.swaylock = {};
home-manager.users.${config.main-user} = { home-manager.users.${config.main-user} = {
imports = [ hyprland.homeManagerModules.default ]; imports = [ hyprland.homeManagerModules.default ];
@ -50,6 +52,17 @@ in {
wf-recorder wf-recorder
]; ];
programs.swaylock = {
enable = true;
settings = {
color = "000000";
font-size = 14;
ignore-empty-password = true;
show-failed-attempts = true;
image = "${./wallpaper.png}";
};
};
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;