options: provide defaults for user and fullName
This fixes users not being present, even on the server. We have to create a placeholder user, even if we're only going to ssh as root.
This commit is contained in:
parent
5e568693f6
commit
ed3dde6c28
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ in {
|
||||||
fullName = mkOption {
|
fullName = mkOption {
|
||||||
type = str;
|
type = str;
|
||||||
description = "your full name (used for git commits and user description)";
|
description = "your full name (used for git commits and user description)";
|
||||||
default = null;
|
default = "User";
|
||||||
};
|
};
|
||||||
email = mkOption {
|
email = mkOption {
|
||||||
type = str;
|
type = str;
|
||||||
|
|
|
@ -15,7 +15,7 @@ in {
|
||||||
username = mkOption {
|
username = mkOption {
|
||||||
type = str;
|
type = str;
|
||||||
description = "username for the home directory";
|
description = "username for the home directory";
|
||||||
default = null;
|
default = "user";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue