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 {
|
||||
type = str;
|
||||
description = "your full name (used for git commits and user description)";
|
||||
default = null;
|
||||
default = "User";
|
||||
};
|
||||
email = mkOption {
|
||||
type = str;
|
||||
|
|
|
@ -15,7 +15,7 @@ in {
|
|||
username = mkOption {
|
||||
type = str;
|
||||
description = "username for the home directory";
|
||||
default = null;
|
||||
default = "user";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue