home/dconf: add cups management link to Utilities
This commit is contained in:
parent
535c51712a
commit
0bea5c27b3
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -28,6 +28,7 @@ let
|
|||
"org.gnome.eog.desktop"
|
||||
"org.gnome.Evince.desktop"
|
||||
"htop.desktop"
|
||||
"cups.desktop"
|
||||
];
|
||||
};
|
||||
"Pro Audio" = {
|
||||
|
|
Loading…
Reference in a new issue