From 902e1a92da4229a5d33a4a3f52f87b5f0c8d27eb Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Wed, 28 Jun 2023 01:54:58 -0700 Subject: [PATCH] Add swaylock --- modules/hyprland/default.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/modules/hyprland/default.nix b/modules/hyprland/default.nix index 2395be3..79b7aa4 100644 --- a/modules/hyprland/default.nix +++ b/modules/hyprland/default.nix @@ -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;