mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +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;
|
||||
in {
|
||||
name = mkOption {
|
||||
type = types.str;
|
||||
type = types.nonEmptyStr;
|
||||
default = name;
|
||||
description = ''
|
||||
The name of the user account. If undefined, the name of the
|
||||
|
|
Loading…
Reference in a new issue