system/modules/nixos/configs/window-manager/hyprland.nix

22 lines
444 B
Nix
Raw Normal View History

2024-04-22 23:43:16 +03:00
{ config, lib, pkgs, ... }:
let
cfg = config.local.window-manager.hyprland;
in
{
options.local.window-manager.hyprland = with lib; {
enable = mkEnableOption "hyperland window manager";
};
config = lib.mkIf cfg.enable {
programs.hyprland = {
enable = true;
package = pkgs.unstable.hyprland;
};
programs.gnupg.agent.pinentryFlavor = "gtk2";
2024-04-23 12:55:20 +03:00
local.lockscreen.waylock.enable = lib.mkDefault true;
2024-04-22 23:43:16 +03:00
};
}