mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
nixos/programs/gnome-session: remove enable
This reverts commit e83f6d5c96a7082232eb55e72a9b8d082f73a3ae.
This commit is contained in:
parent
a4c4636081
commit
1e909ff150
@ -143,8 +143,6 @@ let
|
||||
in
|
||||
{
|
||||
options.programs.gnome-session = {
|
||||
enable = lib.mkEnableOption "creating desktop sessions with gnome-session";
|
||||
|
||||
package = lib.mkOption {
|
||||
type = lib.types.package;
|
||||
default = pkgs.gnome.gnome-session;
|
||||
@ -296,7 +294,7 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf (cfg.enable && cfg.sessions != { }) {
|
||||
config = lib.mkIf (cfg.sessions != { }) {
|
||||
# Install all of the desktop session files.
|
||||
services.xserver.displayManager.sessionPackages = sessionPackages;
|
||||
environment.systemPackages = [ cfg.package ] ++ sessionPackages;
|
||||
|
Loading…
Reference in New Issue
Block a user