From 495f7482745970527c3fd2801da3be682b612e2b Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 4 Mar 2024 06:37:35 +0000 Subject: [PATCH] Add hyprlock for testing Hypr own screen locker, needs some configuring before ready for proper use --- system/hyprland.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/system/hyprland.nix b/system/hyprland.nix index 945b706e..6a0fda5e 100644 --- a/system/hyprland.nix +++ b/system/hyprland.nix @@ -8,12 +8,14 @@ environment = { sessionVariables = { NIXOS_OZONE_WL = "1"; - XDG_CURRENT_DESKTOP = "Hyprland"; XDG_SESSION_TYPE = "wayland"; XDG_SESSION_DESKTOP = "Hyprland"; + XDG_CURRENT_DESKTOP = "Hyprland"; GRIM_DEFAULT_DIR = "$HOME/Pictures/Grim"; }; systemPackages = with pkgs; [ + hyprlock + hyprpaper xdg-utils wtype wl-clipboard @@ -26,7 +28,10 @@ streamlink ]; }; - security.pam.services.swaylock = {}; + security.pam.services = { + swaylock = {}; + hyprlock = {}; + }; services = { xserver.enable = false; blueman.enable = true;