cfdyndns: init
This commit is contained in:
parent
f0d5198e6b
commit
222168c0a7
6 changed files with 23 additions and 0 deletions
7
agenix/hosts/argon/cfdyndns/apiToken.age
Normal file
7
agenix/hosts/argon/cfdyndns/apiToken.age
Normal file
|
@ -0,0 +1,7 @@
|
|||
age-encryption.org/v1
|
||||
-> ssh-ed25519 MtGp6g /DLwiLhRRDFSIal3aCmcedgK4K/5SIiiCw190YZwoUU
|
||||
etUNg5IVs3GnEUAy8CxKKaL317ZbdN9kUQ/H7zcpv5c
|
||||
-> ssh-ed25519 1fcLUQ LQAjiINwW1SeiDWbmjmlvaqLT7IDpY98Md607ExXfEI
|
||||
ByMQ5vF4A4BL8YtPUzLr4+0FBcyMaXYKNKleppMZ/4w
|
||||
--- h4IafmgjN7lxUBzJhadHNtfobrbiyOrprqEXbAZ/1jA
|
||||
p ãr°ïº8B±Ï)Ša<C5A0>ÛÂý9˜Ù½èm-š#Üvñ±Xx¿#F,<C±Ûm]!ÞqÎ.%$ºË:ÿÖ¢3&XÛ8G¼
|
|
@ -10,6 +10,10 @@
|
|||
group = "acme";
|
||||
};
|
||||
|
||||
cfdyndns-api-token = {
|
||||
file = ./cfdyndns/apiToken.age;
|
||||
};
|
||||
|
||||
tailscale-authkey = {
|
||||
file = ./tailscale/authkey.age;
|
||||
};
|
||||
|
|
Binary file not shown.
|
@ -92,6 +92,8 @@ in
|
|||
|
||||
"agenix/hosts/argon/acme/credentials.age".publicKeys = argon;
|
||||
|
||||
"agenix/hosts/argon/cfdyndns/apiToken.age".publicKeys = argon;
|
||||
|
||||
"agenix/hosts/argon/forgejo-actions/token.age".publicKeys = argon;
|
||||
|
||||
"agenix/hosts/argon/tailscale/authkey.age".publicKeys = argon;
|
||||
|
|
|
@ -20,6 +20,7 @@ in
|
|||
../nixos/nginx-argon.nix
|
||||
|
||||
(import ../nixos/adguardhome.nix (args // { inherit secret; }))
|
||||
(import ../nixos/cfdyndns.nix (args // { inherit secret; }))
|
||||
|
||||
../nixos/attic.nix
|
||||
|
||||
|
|
9
system/nixos/cfdyndns.nix
Normal file
9
system/nixos/cfdyndns.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ config, secret, ... }:
|
||||
|
||||
{
|
||||
services.cfdyndns = {
|
||||
enable = true;
|
||||
inherit (secret.cfdyndns) email records;
|
||||
apiTokenFile = config.age.secrets.cfdyndns-api-token.path;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue