Add swaylock
This commit is contained in:
parent
2d79317ef4
commit
902e1a92da
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue