home/dconf: add cups management link to Utilities

This commit is contained in:
Max Headroom 2023-05-01 21:25:15 +02:00
parent 535c51712a
commit 0bea5c27b3
2 changed files with 7 additions and 1 deletions

View file

@ -3,10 +3,15 @@
let
inherit (config.desktop) hiddenApps;
hiddenDesktopFile = pkgs.writeText "hidden.desktop" ''
[Desktop Entry]
Hidden=true
NoDisplay=true
'';
hiddenAppsPackage = pkgs.runCommandLocal "hidden-apps" {} ''
mkdir -p $out/share/applications
for app in ${lib.escapeShellArgs hiddenApps}; do
ln -sf /dev/null "$out/share/applications/$app"
ln -sf ${hiddenDesktopFile} "$out/share/applications/$app"
done
'';
in

View file

@ -28,6 +28,7 @@ let
"org.gnome.eog.desktop"
"org.gnome.Evince.desktop"
"htop.desktop"
"cups.desktop"
];
};
"Pro Audio" = {