This commit is contained in:
2026-07-12 15:25:55 -03:00
commit 29377d0c9a
160 changed files with 6138 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
{
config,
lib,
pkgs,
...
}:
{
options.custom = {
hyprland.enable = lib.mkEnableOption "enable hyprland - system window manger and compositor";
};
config = lib.mkIf config.custom.hyprland.enable {
programs.dconf.enable = true;
programs.hyprland = {
enable = true;
xwayland.enable = true;
};
xdg.portal = {
enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
};
security.polkit.enable = true;
};
}