Add hawser module to busch-main-docker

This commit is contained in:
JuliusFreudenberger 2026-05-15 10:47:48 +02:00
parent 768d9b4989
commit 978e1b97f0
2 changed files with 14 additions and 0 deletions

View file

@ -4,6 +4,7 @@
imports =
[
../../modules/disko/legacy-full-ext4.nix
./secrets.nix
../../users/julius/nixos-server.nix
../../modules/nix.nix
@ -12,6 +13,7 @@
../../modules/server-cli.nix
../../modules/sshd.nix
../../modules/docker.nix
../../modules/hawser.nix
../../modules/netbird-client.nix
"${inputs.secrets}/modules/opkssh.nix"
@ -34,6 +36,12 @@
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,
# 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,

View file

@ -0,0 +1,6 @@
{ inputs, ... }:
{
age.secrets = {
hawser-token.file = "${inputs.secrets}/secrets/busch-main-docker/hawser-token";
};
}