diff options
author | Vladimír Čunát <v@cunat.cz> | 2022-03-19 21:49:55 +0100 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2022-03-19 21:51:08 +0100 |
commit | 02f6f9c3630ad3a22cd0219b3cd1b5a54b67517d (patch) | |
tree | 7772d808fb310e1934082588bcf6eb07c7fb520a /nixos | |
parent | 852c8ab3d06308804a5295ba7ff829bc78eda105 (diff) | |
parent | fd609f92336b4c1677697b09202cfc1439f35aec (diff) | |
download | nixpkgs-02f6f9c3630ad3a22cd0219b3cd1b5a54b67517d.tar nixpkgs-02f6f9c3630ad3a22cd0219b3cd1b5a54b67517d.tar.gz nixpkgs-02f6f9c3630ad3a22cd0219b3cd1b5a54b67517d.tar.bz2 nixpkgs-02f6f9c3630ad3a22cd0219b3cd1b5a54b67517d.tar.lz nixpkgs-02f6f9c3630ad3a22cd0219b3cd1b5a54b67517d.tar.xz nixpkgs-02f6f9c3630ad3a22cd0219b3cd1b5a54b67517d.tar.zst nixpkgs-02f6f9c3630ad3a22cd0219b3cd1b5a54b67517d.zip |
Merge #164895: nixos displayManager.session: drop type
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/x11/display-managers/default.nix | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/nixos/modules/services/x11/display-managers/default.nix b/nixos/modules/services/x11/display-managers/default.nix index 03fe68fe505..a5db3dd5dd4 100644 --- a/nixos/modules/services/x11/display-managers/default.nix +++ b/nixos/modules/services/x11/display-managers/default.nix @@ -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"; |