nixos services.xserver.displayManager.session: drop type

For now at least.  I expect someone will find a working type later.
It's incorrect and was causing bad issues.  Example test case:
nix-instantiate nixos/release.nix -A tests.xfce.x86_64-linux --dry-run

This is a partial revert of commit b2d803c from PR #162271.
This commit is contained in:
Vladimír Čunát 2022-03-19 21:01:10 +01:00
parent fc18d54a06
commit fd609f9233
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -219,24 +219,7 @@ in
session = mkOption { session = mkOption {
default = []; default = [];
type = with types; listOf (submodule ({ ... }: { type = types.listOf types.attrs;
options = {
manage = mkOption {
description = "Whether this is a desktop or a window manager";
type = enum [ "desktop" "window" ];
};
name = mkOption {
description = "Name of this session";
type = str;
};
start = mkOption {
description = "Commands to run to start this session";
type = lines;
};
};
}));
example = literalExpression example = literalExpression
'' ''
[ { manage = "desktop"; [ { manage = "desktop";