From 628b9840a19db80eddeed15f839511cab48ce5b5 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Wed, 27 Oct 2021 19:57:51 -0400 Subject: [PATCH] Add host configuration --- nki-personal-do/flake.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nki-personal-do/flake.nix b/nki-personal-do/flake.nix index 0db082a..c229f9e 100644 --- a/nki-personal-do/flake.nix +++ b/nki-personal-do/flake.nix @@ -10,9 +10,13 @@ system = "x86_64-linux"; modules = [ ./configuration.nix ]; }; - deploy.nodes."nki-personal".profiles.system = { + deploy.nodes."nki-personal" = { + hostname = "nki-personal"; + sshUser = "root"; + profiles.system = { user = "root"; path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations."nki-personal"; + }; }; # This is highly advised, and will prevent many possible mistakes