deployed k3s-node1
This commit is contained in:
parent
d010280647
commit
b3295d09c6
4 changed files with 77 additions and 0 deletions
14
flake.nix
14
flake.nix
|
@ -10,6 +10,11 @@
|
|||
modules = [ ./hosts/bastion/configuration.nix ];
|
||||
};
|
||||
|
||||
nixosConfigurations.k3s = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [ ./hosts/k3s/configuration.nix ];
|
||||
};
|
||||
|
||||
nixosConfigurations.vault = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [ "${nixpkgs}/nixos/modules/virtualisation/lxc-container.nix" ./hosts/vault/configuration.nix ];
|
||||
|
@ -24,6 +29,15 @@
|
|||
};
|
||||
};
|
||||
|
||||
deploy.nodes.k3s-node1 = {
|
||||
hostname = "10.42.42.10";
|
||||
fastConnection = true;
|
||||
profiles.system = {
|
||||
user = "root";
|
||||
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.k3s;
|
||||
};
|
||||
};
|
||||
|
||||
deploy.nodes.vault = {
|
||||
hostname = "10.42.42.6";
|
||||
fastConnection = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue