Skip to content

Commit 76dcb4f

Browse files
authored
add authelia to gateway host (#414)
* add authelia config * nginx instead? * enable tunnels, DNS-01 challenge, more rate limits * oops * fix oidc proxy buffer * fix redirect uri * skip oidc consent * redis * setup grafana * re-enable cloudflared * good bot
1 parent 29e494d commit 76dcb4f

File tree

7 files changed

+554
-9
lines changed

7 files changed

+554
-9
lines changed

.sops.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
keys:
2+
- &kclejeune age16vnps5ues20fykepcjwr5zyvf5p7pzd3skdr4kh4hf9nxl38vfxq6vanlm
3+
# Derived from gateway SSH host key via ssh-to-age
4+
- &gateway age1xawelux9hmvjmq3ry9yu0uh0njyjx87hskdlnlknjh3ud2rm74fs5jc8vk
5+
6+
creation_rules:
7+
- path_regex: secrets/gateway\.yaml$
8+
key_groups:
9+
- age:
10+
- *kclejeune
11+
- *gateway

flake.lock

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@
5252

5353
nix-index-database.url = "github:Mic92/nix-index-database";
5454
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
55+
56+
sops-nix.url = "github:Mic92/sops-nix";
57+
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
5558
};
5659

5760
outputs =
@@ -207,6 +210,7 @@
207210
./modules/nixos/hetzner.nix
208211
];
209212
extraModules = [
213+
inputs.sops-nix.nixosModules.sops
210214
./modules/nixos/gateway.nix
211215
./profiles/personal
212216
];

modules/home-manager/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
[
4040
age
4141
alejandra
42-
# argocd
4342
asciidoctor
4443
ast-grep
4544
attic
@@ -135,6 +134,7 @@
135134
shellcheck
136135
sig
137136
skopeo
137+
sops
138138
ssh-to-age
139139
sshpass
140140
stylua

0 commit comments

Comments
 (0)