partsdb
This commit is contained in:
parent
458168036c
commit
cfa803bc82
7 changed files with 53 additions and 71 deletions
|
|
@ -1,26 +0,0 @@
|
|||
{ config, pkgs, options, ... }: {
|
||||
imports = [
|
||||
../../nixos-modules/services/tailscale-openvpn.nix
|
||||
../../nixos-modules/system/agenix.nix
|
||||
];
|
||||
ragon = {
|
||||
agenix.secrets."ovpnNl" = { };
|
||||
agenix.secrets."ovpnDe" = { };
|
||||
agenix.secrets."ovpnTu" = { };
|
||||
agenix.secrets."ovpnCrt1" = { };
|
||||
agenix.secrets."ovpnPw1" = { };
|
||||
agenix.secrets."ovpnPw2" = { };
|
||||
agenix.secrets."ovpnScript" = { };
|
||||
agenix.secrets."tailscaleKey" = { };
|
||||
services.tailscale-openvpn = {
|
||||
enable = true;
|
||||
tsAuthKey = config.age.secrets.tailscaleKey.path;
|
||||
config = {
|
||||
nl = config.age.secrets.ovpnNl.path;
|
||||
de = config.age.secrets.ovpnDe.path;
|
||||
tu = config.age.secrets.ovpnTu.path;
|
||||
};
|
||||
script = config.age.secrets.ovpnScript.path;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue