nixos/cosmic: add missing dependencies (#449426)
This commit is contained in:
@@ -89,10 +89,13 @@ in
|
||||
cosmic-screenshot
|
||||
cosmic-term
|
||||
cosmic-wallpapers
|
||||
glib
|
||||
hicolor-icon-theme
|
||||
networkmanagerapplet
|
||||
playerctl
|
||||
pop-icon-theme
|
||||
pop-launcher
|
||||
pulseaudio
|
||||
xdg-user-dirs
|
||||
]
|
||||
++ lib.optionals config.services.flatpak.enable [
|
||||
|
||||
@@ -73,6 +73,10 @@ stdenv.mkDerivation rec {
|
||||
postPatch = ''
|
||||
chmod +x meson_post_install.py # patchShebangs requires executable file
|
||||
patchShebangs meson_post_install.py
|
||||
|
||||
# Prevent applet from autostarting in COSMIC, which has its own built-in network applet
|
||||
substituteInPlace nm-applet.desktop.in \
|
||||
--replace-fail "NotShowIn=KDE;GNOME;" "NotShowIn=KDE;GNOME;COSMIC;"
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
|
||||
Reference in New Issue
Block a user