feat(de): add hyprlock

This commit is contained in:
Mohammad Rafiq 2025-03-17 23:33:38 +08:00
parent 92c962c5ac
commit 4c154876ba
No known key found for this signature in database
7 changed files with 222 additions and 43 deletions

View file

@ -1,5 +1,6 @@
{
imports = [
./programs/hyprland.nix
./programs/hyprlock.nix
];
}

View file

@ -3,12 +3,8 @@
pkgs,
...
}: {
programs.uwsm = {
enable = false;
};
programs.hyprland = {
enable = true;
#withUWSN = true;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
};

View file

@ -0,0 +1,11 @@
{
inputs,
pkgs,
...
}: {
programs.hyprlock = {
enable = true;
package = inputs.hyprlock.packages.${pkgs.stdenv.hostPlatform.system}.hyprlock;
};
security.pam.services.hyprlock = {};
}