big refactor
This commit is contained in:
commit
76d68230f6
81 changed files with 3065 additions and 0 deletions
14
modules/features/home/xdg.nix
Normal file
14
modules/features/home/xdg.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ pkgs, lib, osconfig, ... }: {
|
||||
xdg.portal = lib.mkIf osconfig.device.wm.hyprland.enable {
|
||||
enable = true;
|
||||
xdgOpenUsePortal = true;
|
||||
config = {
|
||||
common.default = ["gtk"];
|
||||
hyprland.default = ["gtk" "hyprland"];
|
||||
};
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
pkgs.xdg-desktop-portal-hyprland
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in a new issue