From 48f1c6d1dfd3cdee00499733e575a485ebef5d10 Mon Sep 17 00:00:00 2001 From: Chloe Kever Date: Tue, 15 Feb 2022 18:39:10 -0800 Subject: [PATCH] `root` as the default user. --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 6545d8a..9165584 100644 --- a/flake.nix +++ b/flake.nix @@ -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'";