diff options
author | Bobby Rong <rjl931189261@126.com> | 2023-10-06 18:07:17 +0800 |
---|---|---|
committer | Bobby Rong <rjl931189261@126.com> | 2023-10-06 18:27:49 +0800 |
commit | ba82dd7148e0decc2d972600cce35e2d2176a499 (patch) | |
tree | fc7f68906354dbfda90ec62dd2e198c6a871ec0d /nixos/modules/services | |
parent | 21f5cd377acbaa9c94130c4db38695d8a4fa053d (diff) | |
download | nixpkgs-ba82dd7148e0decc2d972600cce35e2d2176a499.tar nixpkgs-ba82dd7148e0decc2d972600cce35e2d2176a499.tar.gz nixpkgs-ba82dd7148e0decc2d972600cce35e2d2176a499.tar.bz2 nixpkgs-ba82dd7148e0decc2d972600cce35e2d2176a499.tar.lz nixpkgs-ba82dd7148e0decc2d972600cce35e2d2176a499.tar.xz nixpkgs-ba82dd7148e0decc2d972600cce35e2d2176a499.tar.zst nixpkgs-ba82dd7148e0decc2d972600cce35e2d2176a499.zip |
gnome.gnome-flashback: Add mkGnomeSession
Having this in environment.systemPackages shouldn't be worse than adding as XDG_DATA_DIRS in gnome-session.
Diffstat (limited to 'nixos/modules/services')
-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 2f9c75bbfb3..8b5daf83de1 100644 --- a/nixos/modules/services/x11/desktop-managers/gnome.nix +++ b/nixos/modules/services/x11/desktop-managers/gnome.nix @@ -294,7 +294,7 @@ in map (wm: pkgs.gnome.gnome-flashback.mkSessionForWm { - inherit (wm) wmName wmLabel wmCommand enableGnomePanel; + inherit (wm) wmName wmLabel wmCommand; } ) flashbackWms; @@ -313,7 +313,9 @@ in }) ] # For /share/applications/${wmName}.desktop - ++ (map (wm: gnome-flashback.mkWmApplication { inherit (wm) wmName wmLabel wmCommand; }) flashbackWms); + ++ (map (wm: gnome-flashback.mkWmApplication { inherit (wm) wmName wmLabel wmCommand; }) flashbackWms) + # For /share/gnome-session/sessions/gnome-flashback-${wmName}.session + ++ (map (wm: gnome-flashback.mkGnomeSession { inherit (wm) wmName wmLabel enableGnomePanel; }) flashbackWms); }) (mkIf serviceCfg.core-os-services.enable { |