modularize Drone config
This commit is contained in:
parent
482f9afc57
commit
fd1f4fc206
8 changed files with 205 additions and 172 deletions
10
modules/nixos/homeserver/cloudflared.nix
Normal file
10
modules/nixos/homeserver/cloudflared.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
services.cloudflared = {
|
||||
tunnels."8af2892d-d534-4e32-b867-5b79308a99d5" = {
|
||||
credentialsFile = config.sops.secrets."cloudflared/8af2892d-d534-4e32-b867-5b79308a99d5.json".path;
|
||||
default = "http_status:418";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue