Auto-commit: 2026-01-05 17:22:30
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
{ pkgs, inputs, ...}:
|
||||
|
||||
{ pkgs, inputs, nixosConfig, lib, ...}:
|
||||
let
|
||||
cfg = nixosConfig.my.desktop;
|
||||
in
|
||||
{
|
||||
xdg = {
|
||||
enable = true;
|
||||
mime.enable = true;
|
||||
mimeApps.enable = true;
|
||||
portal = {
|
||||
mime.enable = cfg.enable;
|
||||
mimeApps.enable = cfg.enable;
|
||||
portal = lib.mkIf cfg.enable {
|
||||
enable = true;
|
||||
extraPortals = [
|
||||
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland
|
||||
|
||||
Reference in New Issue
Block a user