Compare commits
2 commits
93517391f4
...
b9d0c97887
Author | SHA1 | Date | |
---|---|---|---|
b9d0c97887 | |||
af61824dc9 |
4 changed files with 9 additions and 22 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";
|
|
@ -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";
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -7,8 +7,6 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
||||||
# Plumbing
|
# Plumbing
|
||||||
./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