mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-03-13 18:19:00 +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, ... }: {
|
||||
options = {
|
||||
description = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
type = lib.types.nonEmptyStr;
|
||||
description = "One-sentence description of the component.";
|
||||
default = "";
|
||||
example = "Desktop widgets";
|
||||
@ -250,14 +250,14 @@ let
|
||||
sessionType = { name, config, options, ... }: {
|
||||
options = {
|
||||
fullName = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
type = lib.types.nonEmptyStr;
|
||||
description = "The (formal) name of the desktop environment.";
|
||||
default = name;
|
||||
example = "Mosey Branch";
|
||||
};
|
||||
|
||||
description = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
type = lib.types.nonEmptyStr;
|
||||
description = ''
|
||||
A one-sentence description of the desktop environment.
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user