Merge #164895: nixos displayManager.session: drop type

This commit is contained in:
Vladimír Čunát 2022-03-19 21:49:55 +01:00
commit 02f6f9c363
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -219,24 +219,7 @@ in
session = mkOption {
default = [];
type = with types; listOf (submodule ({ ... }: {
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;
};
};
}));
type = types.listOf types.attrs;
example = literalExpression
''
[ { manage = "desktop";