nixos/xfce4-14: support thunarPlugins
This commit is contained in:
parent
ac70cd728c
commit
c5176abf81
@ -24,15 +24,14 @@ in
|
|||||||
description = "Enable the Xfce desktop environment.";
|
description = "Enable the Xfce desktop environment.";
|
||||||
};
|
};
|
||||||
|
|
||||||
# TODO: support thunar plugins
|
thunarPlugins = mkOption {
|
||||||
# thunarPlugins = mkOption {
|
default = [];
|
||||||
# default = [];
|
type = types.listOf types.package;
|
||||||
# type = types.listOf types.package;
|
example = literalExample "[ pkgs.xfce4-14.thunar-archive-plugin ]";
|
||||||
# example = literalExample "[ pkgs.xfce4-14.thunar-archive-plugin ]";
|
description = ''
|
||||||
# description = ''
|
A list of plugin that should be installed with Thunar.
|
||||||
# A list of plugin that should be installed with Thunar.
|
'';
|
||||||
# '';
|
};
|
||||||
# };
|
|
||||||
|
|
||||||
noDesktop = mkOption {
|
noDesktop = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
@ -83,9 +82,7 @@ in
|
|||||||
xfce4-taskmanager
|
xfce4-taskmanager
|
||||||
xfce4-terminal
|
xfce4-terminal
|
||||||
|
|
||||||
# TODO: resync patch for plugins
|
(thunar.override { thunarPlugins = cfg.thunarPlugins; })
|
||||||
#(thunar.override { thunarPlugins = cfg.thunarPlugins; })
|
|
||||||
thunar
|
|
||||||
] # TODO: NetworkManager doesn't belong here
|
] # TODO: NetworkManager doesn't belong here
|
||||||
++ optional config.networking.networkmanager.enable networkmanagerapplet
|
++ optional config.networking.networkmanager.enable networkmanagerapplet
|
||||||
++ optional config.powerManagement.enable xfce4-power-manager
|
++ optional config.powerManagement.enable xfce4-power-manager
|
||||||
@ -145,7 +142,7 @@ in
|
|||||||
|
|
||||||
# Systemd services
|
# Systemd services
|
||||||
systemd.packages = with pkgs.xfce4-14; [
|
systemd.packages = with pkgs.xfce4-14; [
|
||||||
thunar
|
(thunar.override { thunarPlugins = cfg.thunarPlugins; })
|
||||||
] ++ optional (!cfg.noDesktop) xfce4-notifyd;
|
] ++ optional (!cfg.noDesktop) xfce4-notifyd;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user