silence xdg portal warnings
This commit is contained in:
parent
ab1453a501
commit
f9a9e03360
2 changed files with 15 additions and 5 deletions
|
|
@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue