3
0
Fork 0
forked from mirrors/nixpkgs

xfce module: enable notification daemon by default (#115130)

The notification daemon is just one part of XFCE that is, to the best of
my understanding, not particularly related to it being desktop or not —
for instance, not more related than the session manager or the like.
This commit is contained in:
Léo Gaspard 2021-03-06 19:04:15 +01:00 committed by GitHub
parent db74faeb71
commit 393d300055
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@ in
noDesktop = mkOption {
type = types.bool;
default = false;
description = "Don't install XFCE desktop components (xfdesktop, panel and notification daemon).";
description = "Don't install XFCE desktop components (xfdesktop and panel).";
};
enableXfwm = mkOption {
@ -98,6 +98,7 @@ in
parole
ristretto
xfce4-appfinder
xfce4-notifyd
xfce4-screenshooter
xfce4-session
xfce4-settings
@ -119,7 +120,6 @@ in
xfwm4
xfwm4-themes
] ++ optionals (!cfg.noDesktop) [
xfce4-notifyd
xfce4-panel
xfdesktop
];
@ -166,7 +166,8 @@ in
# Systemd services
systemd.packages = with pkgs.xfce; [
(thunar.override { thunarPlugins = cfg.thunarPlugins; })
] ++ optional (!cfg.noDesktop) xfce4-notifyd;
xfce4-notifyd
];
};
}