1
0
Fork 0
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:
Michael Hoang 2024-10-22 19:49:13 +11:00
parent 11c777c719
commit 0a686597fa

View file

@ -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