allow xdg portal on nixos config again

This commit is contained in:
notgne2 2025-10-21 14:49:27 -07:00
parent f18bdc1097
commit 08709cf1a9
No known key found for this signature in database
2 changed files with 11 additions and 2 deletions

View file

@ -98,7 +98,6 @@ inputs: all: {
# canvasblocker
sponsorblock
stylus
vimium
]);
settings = {

View file

@ -10,7 +10,17 @@ in {
options.ezpc.enable = mkEnableOption "Enable ezpc system stuff";
config = mkIf cfg.enable {
# programs.hyprland.enable = true;
programs.hyprland.enable = true;
xdg.portal = {
enable = true;
xdgOpenUsePortal = true;
extraPortals = [ pkgs.xdg-desktop-portal-hyprland pkgs.xdg-desktop-portal-gtk ];
config = {
common.default = ["gtk"];
hyprland.default = ["gtk" "hyprland"];
};
};
environment.sessionVariables = {
QT_QPA_PLATFORM = "wayland;xcb";