diff options
author | Bobby Rong <rjl931189261@126.com> | 2023-10-06 16:40:53 +0800 |
---|---|---|
committer | Bobby Rong <rjl931189261@126.com> | 2023-10-06 18:22:07 +0800 |
commit | f6345cd25941b8eb17a7e7768b9a3de0b494eb43 (patch) | |
tree | 016baee047fc44644a3829c85ff491dfafacd4ba /nixos/modules/services/x11/desktop-managers/gnome.nix | |
parent | 55c124cadbbae4001dabc128e29edd113d795f6b (diff) |
gnome.gnome-panel-with-modules: init
Setting X_GNOME_PANEL_MODULESDIR in gnome-session wrapper is confusing to me.
Diffstat (limited to 'nixos/modules/services/x11/desktop-managers/gnome.nix')
-rw-r--r-- | nixos/modules/services/x11/desktop-managers/gnome.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/gnome.nix b/nixos/modules/services/x11/desktop-managers/gnome.nix index ce8f2548a5ad7..97df50588500e 100644 --- a/nixos/modules/services/x11/desktop-managers/gnome.nix +++ b/nixos/modules/services/x11/desktop-managers/gnome.nix @@ -229,7 +229,7 @@ in panelModulePackages = mkOption { default = [ pkgs.gnome.gnome-applets ]; defaultText = literalExpression "[ pkgs.gnome.gnome-applets ]"; - type = types.listOf types.path; + type = types.listOf types.package; description = lib.mdDoc '' Packages containing modules that should be made available to `gnome-panel` (usually for applets). @@ -295,7 +295,6 @@ in (wm: pkgs.gnome.gnome-flashback.mkSessionForWm { inherit (wm) wmName wmLabel wmCommand enableGnomePanel; - inherit (cfg.flashback) panelModulePackages; } ) flashbackWms; @@ -309,6 +308,9 @@ in environment.systemPackages = with pkgs.gnome; [ gnome-flashback + (gnome-panel-with-modules.override { + panelModulePackages = cfg.flashback.panelModulePackages; + }) ]; }) |