cluster/services/sso: integrate VEGAS/oauth2-proxy
This commit is contained in:
parent
9b59388c3c
commit
af61824dc9
3 changed files with 9 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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";
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
# Plumbing
|
||||
./modules/database
|
||||
./modules/oauth2-proxy
|
||||
./modules/redis
|
||||
./modules/virtualisation
|
||||
depot.inputs.agenix.nixosModules.age
|
||||
|
|
Loading…
Reference in a new issue