diff --git a/desktops/hyprland.nix b/desktops/hyprland.nix index cea8b5ed..e7d5e784 100644 --- a/desktops/hyprland.nix +++ b/desktops/hyprland.nix @@ -20,8 +20,12 @@ nvidia.modesetting.enable = true; }; + # XDG portal + xdg.portal.enable = true; + xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; + # system packages - environment.systemPackages = with pkgs [ + environment.systemPackages = with pkgs; [ # waybar (waybar.overrideAttrs (oldAttrs: { mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ]; @@ -68,10 +72,6 @@ font-awesome ]; - # XDG portal - xdg.portal.enable = true; - xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; - # Enable sound with pipewire. sound.enable = true; security.rtkit.enable = true;