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

20 lines
385 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";
};
}