Compare commits
2 commits
9b59388c3c
...
93517391f4
Author | SHA1 | Date | |
---|---|---|---|
93517391f4 | |||
effc773f54 |
4 changed files with 8 additions and 21 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
|
||||
|
|
|
@ -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
|
||||
|
||||
# Plumbing
|
||||
./modules/database
|
||||
./modules/oauth2-proxy
|
||||
./modules/redis
|
||||
./modules/virtualisation
|
||||
depot.inputs.agenix.nixosModules.age
|
||||
|
|
Loading…
Reference in a new issue