Add hawser module to busch-main-docker
This commit is contained in:
parent
768d9b4989
commit
978e1b97f0
2 changed files with 14 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
../../modules/disko/legacy-full-ext4.nix
|
../../modules/disko/legacy-full-ext4.nix
|
||||||
|
./secrets.nix
|
||||||
|
|
||||||
../../users/julius/nixos-server.nix
|
../../users/julius/nixos-server.nix
|
||||||
../../modules/nix.nix
|
../../modules/nix.nix
|
||||||
|
|
@ -12,6 +13,7 @@
|
||||||
../../modules/server-cli.nix
|
../../modules/server-cli.nix
|
||||||
../../modules/sshd.nix
|
../../modules/sshd.nix
|
||||||
../../modules/docker.nix
|
../../modules/docker.nix
|
||||||
|
../../modules/hawser.nix
|
||||||
../../modules/netbird-client.nix
|
../../modules/netbird-client.nix
|
||||||
"${inputs.secrets}/modules/opkssh.nix"
|
"${inputs.secrets}/modules/opkssh.nix"
|
||||||
|
|
||||||
|
|
@ -34,6 +36,12 @@
|
||||||
docker.setupKey = "B9ECD884-B445-4156-8643-D0F34D64C200";
|
docker.setupKey = "B9ECD884-B445-4156-8643-D0F34D64C200";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.hawser = {
|
||||||
|
enable = true;
|
||||||
|
dockhandServerUrl = "wss://dockhand-connect.jfreudenberger.de/api/hawser/connect";
|
||||||
|
tokenSecretFile = config.age.secrets.hawser-token;
|
||||||
|
};
|
||||||
|
|
||||||
# This option defines the first version of NixOS you have installed on this particular machine,
|
# This option defines the first version of NixOS you have installed on this particular machine,
|
||||||
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
|
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
|
||||||
# Most users should NEVER change this value after the initial install, for any reason,
|
# Most users should NEVER change this value after the initial install, for any reason,
|
||||||
|
|
|
||||||
6
hosts/busch-main-docker/secrets.nix
Normal file
6
hosts/busch-main-docker/secrets.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{ inputs, ... }:
|
||||||
|
{
|
||||||
|
age.secrets = {
|
||||||
|
hawser-token.file = "${inputs.secrets}/secrets/busch-main-docker/hawser-token";
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue