root
as the default user.
This commit is contained in:
parent
d9e1a0153f
commit
48f1c6d1df
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@
|
|||
inherit (builtins) abort;
|
||||
|
||||
n = flake.nixosConfigurations.${machine}._module.args.nixinate;
|
||||
user = n.sshUser;
|
||||
user = n.sshUser or "root";
|
||||
host = n.host;
|
||||
where = n.buildOn or "remote";
|
||||
remote = if where == "remote" then true else if where == "local" then false else abort "_module.args.nixinate.buildOn is not set to a valid value of 'local' or 'remote'";
|
||||
|
|
Loading…
Add table
Reference in a new issue