Auto-commit: 2026-01-05 19:59:09

This commit is contained in:
2026-01-05 19:59:09 +00:00
parent 11e28964ce
commit 01cdb4d9fd

View File

@@ -1,16 +1,23 @@
{ pkgs, inputs, ...}:
{ pkgs, inputs, config, lib, ...}:
let
cfg = config.my.desktop;
in
{
xdg = {
mime.enable = true;
menus.enable = true;
portal = {
portal = lib.mkIf cfg.enable {
enable = true;
extraPortals = [
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland
pkgs.xdg-desktop-portal-gtk
]
++ lib.optionalAttrs cfg.hyprland.enable [
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland
];
configPackages = []
++ lib.optionalAttrs cfg.hyprland.enable [
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland
];
configPackages = [inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland];
};
};
}