mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-03-16 00:18:59 +00:00
programs/gnome-session: set various options as nonEmptyStr
type
This commit is contained in:
parent
a2bf9a7e60
commit
f7dd146de2
@ -7,7 +7,7 @@ let
|
|||||||
componentsType = { name, config, options, session, ... }: {
|
componentsType = { name, config, options, session, ... }: {
|
||||||
options = {
|
options = {
|
||||||
description = lib.mkOption {
|
description = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.nonEmptyStr;
|
||||||
description = "One-sentence description of the component.";
|
description = "One-sentence description of the component.";
|
||||||
default = "";
|
default = "";
|
||||||
example = "Desktop widgets";
|
example = "Desktop widgets";
|
||||||
@ -250,14 +250,14 @@ let
|
|||||||
sessionType = { name, config, options, ... }: {
|
sessionType = { name, config, options, ... }: {
|
||||||
options = {
|
options = {
|
||||||
fullName = lib.mkOption {
|
fullName = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.nonEmptyStr;
|
||||||
description = "The (formal) name of the desktop environment.";
|
description = "The (formal) name of the desktop environment.";
|
||||||
default = name;
|
default = name;
|
||||||
example = "Mosey Branch";
|
example = "Mosey Branch";
|
||||||
};
|
};
|
||||||
|
|
||||||
description = lib.mkOption {
|
description = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.nonEmptyStr;
|
||||||
description = ''
|
description = ''
|
||||||
A one-sentence description of the desktop environment.
|
A one-sentence description of the desktop environment.
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user