Compare commits

...

2 commits

Author SHA1 Message Date
Max
b9d0c97887 VEGAS/database: drop 2024-07-23 20:15:46 +02:00
Max
af61824dc9 cluster/services/sso: integrate VEGAS/oauth2-proxy 2024-07-23 20:15:46 +02:00
4 changed files with 9 additions and 22 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

@ -1,17 +0,0 @@
{ lib, pkgs, ... }:
{
services.postgresql = {
enable = false;
enableTCPIP = true;
checkConfig = true;
package = pkgs.postgresql_12;
dataDir = "/srv/storage/database/postgres-12/data";
};
services.mysql = {
enable = false;
settings.mysqld.bind-address = "127.0.0.1";
package = pkgs.mariadb;
dataDir = "/srv/storage/database/mariadb/data";
};
}

View file

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