git hyprland
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
{
|
||||
perSystem,
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
@ -13,7 +14,11 @@ in {
|
||||
mkEnableOption "enable hyprland desktop";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
programs.hyprland.enable = true;
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
package = perSystem.hyprland.hyprland;
|
||||
portalPackage = perSystem.hyprland.xdg-desktop-portal-hyprland;
|
||||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
brightnessctl
|
||||
gcr_4
|
||||
@ -44,9 +49,9 @@ in {
|
||||
};
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal-hyprland
|
||||
xdg-desktop-portal-gtk
|
||||
extraPortals = [
|
||||
perSystem.hyprland.xdg-desktop-portal-hyprland
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
];
|
||||
config.common.default = [
|
||||
"hyprland"
|
||||
|
Reference in New Issue
Block a user