mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-16 21:38:21 +00:00
users: don't allow name
to be empty
This commit is contained in:
parent
11c777c719
commit
0a686597fa
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
inherit (lib) literalExpression mkOption types;
|
inherit (lib) literalExpression mkOption types;
|
||||||
in {
|
in {
|
||||||
name = mkOption {
|
name = mkOption {
|
||||||
type = types.str;
|
type = types.nonEmptyStr;
|
||||||
default = name;
|
default = name;
|
||||||
description = ''
|
description = ''
|
||||||
The name of the user account. If undefined, the name of the
|
The name of the user account. If undefined, the name of the
|
||||||
|
|
Loading…
Add table
Reference in a new issue