deploy mosquitto
This commit is contained in:
parent
a27ad6fcae
commit
19c11e2883
2 changed files with 41 additions and 0 deletions
14
flake.nix
14
flake.nix
|
@ -20,6 +20,11 @@
|
|||
modules = [ "${nixpkgs}/nixos/modules/virtualisation/lxc-container.nix" ./hosts/vault/configuration.nix ];
|
||||
};
|
||||
|
||||
nixosConfigurations.mosquitto = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [ "${nixpkgs}/nixos/modules/virtualisation/lxc-container.nix" ./hosts/mosquitto/configuration.nix ];
|
||||
};
|
||||
|
||||
deploy.nodes.bastion = {
|
||||
hostname = "localhost";
|
||||
fastConnection = true;
|
||||
|
@ -47,6 +52,15 @@
|
|||
};
|
||||
};
|
||||
|
||||
deploy.nodes.mosquitto = {
|
||||
hostname = "10.42.42.7";
|
||||
fastConnection = true;
|
||||
profiles.system = {
|
||||
user = "root";
|
||||
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.mosquitto;
|
||||
};
|
||||
};
|
||||
|
||||
checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue