nix-config/modules/nix/wm/hyprland.nix
smayzy 092579af98
All checks were successful
nix flake show / show-flake (push) Successful in 27s
format with nixfmt to nixpkgs standarts
2025-07-24 19:19:46 +02:00

46 lines
764 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-gtk ];
fonts.packages = with pkgs; [ nerd-fonts.jetbrains-mono ];
environment.systemPackages = with pkgs; [
mako
wofi
wlogout
waybar
wl-clipboard
libnotify
hyprpaper
hyprpolkitagent
hyprlock
pavucontrol
cliphist
kitty
grim
slurp
];
};
}