Add portainer_agent module and configure srv01-hf for it
This commit is contained in:
parent
fadfd47e3f
commit
cfc8f986b7
3 changed files with 25 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
|||
../../modules/qemu-guest.nix
|
||||
../../modules/docker.nix
|
||||
../../modules/teleport.nix
|
||||
../../modules/portainer_agent.nix
|
||||
../../modules/auto-upgrade.nix
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
|
@ -30,6 +31,8 @@
|
|||
};
|
||||
};
|
||||
|
||||
virtualisation.oci-containers.containers.portainer_agent.environmentFiles = [ config.age.secrets."portainer-join_token".path ];
|
||||
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
networks."10-wan" = {
|
||||
|
|
|
@ -3,5 +3,6 @@
|
|||
age.secrets = {
|
||||
teleport-ca_pin.file = "${inputs.secrets}/secrets/teleport/ca_pin";
|
||||
teleport-join_token.file = "${inputs.secrets}/secrets/srv01-hf/teleport_auth_token";
|
||||
portainer-join_token.file = "${inputs.secrets}/secrets/srv01-hf/portainer_join_token";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue