Configure teleport on srv01-hf
This commit is contained in:
parent
abf81609e4
commit
fadfd47e3f
1 changed files with 10 additions and 0 deletions
|
@ -15,11 +15,21 @@
|
||||||
../../modules/sshd.nix
|
../../modules/sshd.nix
|
||||||
../../modules/qemu-guest.nix
|
../../modules/qemu-guest.nix
|
||||||
../../modules/docker.nix
|
../../modules/docker.nix
|
||||||
|
../../modules/teleport.nix
|
||||||
../../modules/auto-upgrade.nix
|
../../modules/auto-upgrade.nix
|
||||||
# Include the results of the hardware scan.
|
# Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.openssh.openFirewall = false;
|
||||||
|
services.teleport = {
|
||||||
|
enable = true;
|
||||||
|
settings.teleport = {
|
||||||
|
ca_pin = config.age.secrets."teleport-ca_pin".path;
|
||||||
|
auth_token = config.age.secrets."teleport-join_token".path;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
systemd.network = {
|
systemd.network = {
|
||||||
enable = true;
|
enable = true;
|
||||||
networks."10-wan" = {
|
networks."10-wan" = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue