mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-10 17:34:05 -05:00
autoprovision tailscale
This commit is contained in:
parent
d100182228
commit
5213ecc447
2 changed files with 13 additions and 1 deletions
|
|
@ -52,6 +52,7 @@
|
|||
"modules/services/trilium"
|
||||
"modules/services/fail2ban"
|
||||
"modules/services/ntfy-sh"
|
||||
"modules/services/mesh/client.nix"
|
||||
"modules/services/ollama/proxy.nix" # Just host the proxy path back to Parzival
|
||||
"modules/services/netbox"
|
||||
"modules/services/matrix"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,17 @@
|
|||
{pkgs, ...}: {
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
sopsFolder = builtins.toString inputs.nix-secrets + "/sops";
|
||||
in {
|
||||
sops.secrets."tailscale-key" = {
|
||||
sopsFile = "${sopsFolder}/shared.yaml";
|
||||
};
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
package = pkgs.unstable.tailscale;
|
||||
authKeyFile = config.sops.secrets."tailscale-key".path;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue