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 = {
|
services.sso = {
|
||||||
nodes.host = [ "VEGAS" ];
|
nodes = {
|
||||||
nixos.host = ./host.nix;
|
host = [ "VEGAS" ];
|
||||||
|
oauth2-proxy = [ "VEGAS" ];
|
||||||
|
};
|
||||||
|
nixos = {
|
||||||
|
host = ./host.nix;
|
||||||
|
oauth2-proxy = ./oauth2-proxy.nix;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
dns.records = let
|
dns.records = let
|
||||||
|
|
|
@ -5,7 +5,7 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
age.secrets.oauth2_proxy-secrets = {
|
age.secrets.oauth2_proxy-secrets = {
|
||||||
file = ../../../../secrets/oauth2_proxy-secrets.age;
|
file = ../../../secrets/oauth2_proxy-secrets.age;
|
||||||
owner = "root";
|
owner = "root";
|
||||||
group = "root";
|
group = "root";
|
||||||
mode = "0400";
|
mode = "0400";
|
|
@ -8,7 +8,6 @@
|
||||||
|
|
||||||
# Plumbing
|
# Plumbing
|
||||||
./modules/database
|
./modules/database
|
||||||
./modules/oauth2-proxy
|
|
||||||
./modules/redis
|
./modules/redis
|
||||||
./modules/virtualisation
|
./modules/virtualisation
|
||||||
depot.inputs.agenix.nixosModules.age
|
depot.inputs.agenix.nixosModules.age
|
||||||
|
|
Loading…
Reference in a new issue