mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 09:35:12 -05:00
35 lines
684 B
Nix
Executable file
35 lines
684 B
Nix
Executable file
{ pkgs, flake, ... }:
|
|
{
|
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
|
|
|
xdg = {
|
|
portal = {
|
|
enable = true;
|
|
config = {
|
|
niri = {
|
|
default = [
|
|
"wlr"
|
|
"gtk"
|
|
"gnome"
|
|
];
|
|
};
|
|
};
|
|
|
|
wlr.enable = true;
|
|
config.common.default = "*";
|
|
xdgOpenUsePortal = true;
|
|
extraPortals = builtins.attrValues {
|
|
inherit (pkgs)
|
|
xdg-desktop-portal-gtk
|
|
xdg-desktop-portal-gnome
|
|
# xdg-desktop-portal-hyprland
|
|
xdg-desktop-portal-wlr
|
|
;
|
|
inherit (pkgs.kdePackages)
|
|
xdg-desktop-portal-kde
|
|
;
|
|
};
|
|
};
|
|
};
|
|
|
|
}
|