Add hyprlock for testing

Hypr own screen locker, needs some configuring before ready for proper
use
This commit is contained in:
Evie Litherland-Smith 2024-03-04 06:37:35 +00:00
parent f1a5f454e8
commit 495f748274

View file

@ -8,12 +8,14 @@
environment = { environment = {
sessionVariables = { sessionVariables = {
NIXOS_OZONE_WL = "1"; NIXOS_OZONE_WL = "1";
XDG_CURRENT_DESKTOP = "Hyprland";
XDG_SESSION_TYPE = "wayland"; XDG_SESSION_TYPE = "wayland";
XDG_SESSION_DESKTOP = "Hyprland"; XDG_SESSION_DESKTOP = "Hyprland";
XDG_CURRENT_DESKTOP = "Hyprland";
GRIM_DEFAULT_DIR = "$HOME/Pictures/Grim"; GRIM_DEFAULT_DIR = "$HOME/Pictures/Grim";
}; };
systemPackages = with pkgs; [ systemPackages = with pkgs; [
hyprlock
hyprpaper
xdg-utils xdg-utils
wtype wtype
wl-clipboard wl-clipboard
@ -26,7 +28,10 @@
streamlink streamlink
]; ];
}; };
security.pam.services.swaylock = {}; security.pam.services = {
swaylock = {};
hyprlock = {};
};
services = { services = {
xserver.enable = false; xserver.enable = false;
blueman.enable = true; blueman.enable = true;