Files
nix-config/modules/nix/wm/hyprland.nix
T
smayzy ba42268e49
nixos config pipeline / show-flake (push) Successful in 23s
nixos config pipeline / deploy (push) Successful in 9s
add brightnessctl to hyprland
2026-08-27 00:16:54 +02:00

49 lines
836 B
Nix

{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.hyprland.enable = mkOption {
type = types.bool;
default = false;
description = "hyprland";
};
config = mkIf config.smayzy.hyprland.enable {
programs.hyprland = {
enable = true;
xwayland.enable = true;
};
xdg.portal.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
fonts.packages = with pkgs; [ nerd-fonts.jetbrains-mono ];
smayzy.kitty.enable = true;
environment.systemPackages = with pkgs; [
wofi
wlogout
waybar
wl-clipboard
libnotify
hyprpaper
hyprpolkitagent
hyprlock
pavucontrol
cliphist
grim
slurp
mako
kdePackages.dolphin
brightnessctl
];
};
}