Auto-commit: 2026-01-05 19:59:09
This commit is contained in:
@@ -1,16 +1,23 @@
|
|||||||
{ pkgs, inputs, ...}:
|
{ pkgs, inputs, config, lib, ...}:
|
||||||
|
let
|
||||||
|
cfg = config.my.desktop;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
xdg = {
|
xdg = {
|
||||||
mime.enable = true;
|
mime.enable = true;
|
||||||
menus.enable = true;
|
menus.enable = true;
|
||||||
portal = {
|
portal = lib.mkIf cfg.enable {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPortals = [
|
extraPortals = [
|
||||||
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland
|
|
||||||
pkgs.xdg-desktop-portal-gtk
|
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];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user