19 lines
385 B
Nix
19 lines
385 B
Nix
{ 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";
|
|
};
|
|
}
|