Merge #164895: nixos displayManager.session: drop type
This commit is contained in:
commit
02f6f9c363
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue