Add dry runs. #7

Merged
pinktrink merged 4 commits from master into master 2022-02-17 02:38:08 +00:00
Showing only changes of commit 48f1c6d1df - Show all commits

View file

@ -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'";