This commit is contained in:
2026-05-11 10:15:54 +03:00
parent c620b49f60
commit bb65103e0d
17 changed files with 238 additions and 2539 deletions
-1
View File
@@ -4,7 +4,6 @@
./cosmic
./dms
./gnome
# ./hyprland
# ./niri
# ./plasma
];
@@ -1,36 +0,0 @@
{
perSystem,
config,
pkgs,
lib,
...
}: let
inherit (lib) mkEnableOption mkIf;
inherit (perSystem) hyprland;
cfg = config.desktop.hyprland;
in {
options = {
desktop.hyprland.enable =
mkEnableOption "enable hyprland desktop";
};
config = mkIf cfg.enable {
module.desktop.displayManager = "greetd";
module.desktop.gnome-keyring.enable = true;
sound.pipewire.enable = true;
programs.hyprland = {
enable = true;
package = hyprland.hyprland;
portalPackage = hyprland.xdg-desktop-portal-hyprland;
};
security.pam.services.hyprlock = {};
xdg.portal = {
enable = true;
extraPortals = [
hyprland.xdg-desktop-portal-hyprland
pkgs.xdg-desktop-portal-gtk
];
config.hyprland.default = ["hyprland" "gtk"];
};
};
}