Add host configuration

This commit is contained in:
Natsu Kagami 2021-10-27 19:57:51 -04:00
parent 26da7aeddb
commit 628b9840a1

View file

@ -10,10 +10,14 @@
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ ./configuration.nix ]; modules = [ ./configuration.nix ];
}; };
deploy.nodes."nki-personal".profiles.system = { deploy.nodes."nki-personal" = {
hostname = "nki-personal";
sshUser = "root";
profiles.system = {
user = "root"; user = "root";
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations."nki-personal"; path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations."nki-personal";
}; };
};
# This is highly advised, and will prevent many possible mistakes # This is highly advised, and will prevent many possible mistakes
checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib; checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;