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
1 changed files with 13 additions and 0 deletions

View File

@ -36,6 +36,8 @@ in {
];
};
security.pam.services.swaylock = {};
home-manager.users.${config.main-user} = {
imports = [ hyprland.homeManagerModules.default ];
@ -50,6 +52,17 @@ in {
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 = {
enable = true;