nix-conf/modules/linux/nixos/hyprland.nix
Crony Akatsuki 5d2d796c4d
All checks were successful
/ cache (push) Successful in 1m19s
feat: use stable hyprland.
2026-05-28 10:43:46 +02:00

23 lines
573 B
Nix

{
config,
inputs,
pkgs,
lib,
...
}: {
options = {
crony.hyprland-nixos.enable = lib.mkEnableOption "Enable hyprland globally";
};
config = lib.mkIf config.crony.hyprland-nixos.enable {
programs.hyprland = {
enable = true;
# package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
# portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
withUWSM = true;
};
security.pam.services.hyprlock = {};
security.pam.services.waylock = {};
};
}