cluster/services/sso: integrate VEGAS/oauth2-proxy

This commit is contained in:
Max Headroom 2024-07-23 19:13:56 +02:00
parent 9b59388c3c
commit af61824dc9
3 changed files with 9 additions and 4 deletions

View file

@ -2,8 +2,14 @@
{
services.sso = {
nodes.host = [ "VEGAS" ];
nixos.host = ./host.nix;
nodes = {
host = [ "VEGAS" ];
oauth2-proxy = [ "VEGAS" ];
};
nixos = {
host = ./host.nix;
oauth2-proxy = ./oauth2-proxy.nix;
};
};
dns.records = let

View file

@ -5,7 +5,7 @@ let
in
{
age.secrets.oauth2_proxy-secrets = {
file = ../../../../secrets/oauth2_proxy-secrets.age;
file = ../../../secrets/oauth2_proxy-secrets.age;
owner = "root";
group = "root";
mode = "0400";

View file

@ -8,7 +8,6 @@
# Plumbing
./modules/database
./modules/oauth2-proxy
./modules/redis
./modules/virtualisation
depot.inputs.agenix.nixosModules.age