silence xdg portal warnings
This commit is contained in:
parent
ab1453a501
commit
f9a9e03360
2 changed files with 15 additions and 5 deletions
|
|
@ -1,6 +1,4 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
|
|
@ -15,6 +13,7 @@
|
|||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.kernelPackages = pkgs.linuxPackages;
|
||||
system.switch.enableNg = true;
|
||||
nix.settings.experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
|
|
|
|||
|
|
@ -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