1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

chore: update stalwart, add firezone tokens

This commit is contained in:
oddlama 2025-03-16 15:13:53 +01:00
parent be7e4d158c
commit 3dabfb23e0
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
5 changed files with 30 additions and 6 deletions

View file

@ -58,6 +58,18 @@
};
};
# NOTE: state: this token is from a manually created service account
age.secrets.firezone-gateway-token = {
rekeyFile = config.node.secretsDir + "/firezone-gateway-token.age";
};
services.firezone.gateway = {
enable = true;
name = "ward";
apiUrl = "wss://${globals.services.firezone.domain}/api/";
tokenFile = config.age.secrets.firezone-gateway-token.path;
};
guests =
let
mkGuest = guestName: {