silence xdg portal warnings

This commit is contained in:
lucy 2026-07-17 23:23:48 +02:00
commit f9a9e03360
2 changed files with 15 additions and 5 deletions

View file

@ -9,12 +9,23 @@
enable = true;
package = null;
systemd.enable = false;
extraConfig = ''
require("main")
'';
portalPackage =
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
};
extraConfig = ''
require("main")
'';
xdg.configFile."hypr/main.lua".source =
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos/home/hyprland.lua";
xdg.portal.config = {
common = {
default = [ "gtk" ];
};
hyprland = {
default = [ "hyprland" ];
"org.freedesktop.impl.portal.Secret" = [
"gnome-keyring"
];
};
};
}