cleanup hades hosts

This commit is contained in:
Vivian 2023-12-24 11:16:12 +01:00
parent 9bf6d76aa6
commit 23fd3adfa3
2 changed files with 13 additions and 33 deletions

View file

@ -18,11 +18,7 @@
ip = "192.168.0.101"; ip = "192.168.0.101";
mac = "5a:00:b7:6c:d1:e2"; mac = "5a:00:b7:6c:d1:e2";
}; };
"plex" = { # ip = "192.168.0.102";
ip = "192.168.0.102";
mac = "00:0c:29:a1:4e:28";
nix = false;
};
"vault-0" = { "vault-0" = {
ip = "192.168.0.103"; ip = "192.168.0.103";
mac = "7A:14:15:ED:D1:E6"; mac = "7A:14:15:ED:D1:E6";
@ -60,16 +56,8 @@
profile = "dns"; profile = "dns";
tags = [ "networking" ]; tags = [ "networking" ];
}; };
"MariaDB" = { # ip = "192.168.0.109";
ip = "192.168.0.109"; # ip = "192.168.0.110";
mac = "00:0c:29:23:4f:12";
nix = false;
};
"bitwarden_rs" = {
ip = "192.168.0.110";
mac = "00:0c:29:f5:98:00";
nix = false;
};
"rtorrent" = { "rtorrent" = {
ip = "192.168.0.111"; ip = "192.168.0.111";
mac = "7a:5f:9b:62:49:91"; mac = "7a:5f:9b:62:49:91";
@ -139,15 +127,8 @@
mac = "5E:36:04:2D:38:DF"; mac = "5E:36:04:2D:38:DF";
type = "vm"; type = "vm";
}; };
"database" = { # ip = "192.168.0.126";
ip = "192.168.0.126"; # ip = "192.168.0.127";
mac = "82:e8:71:7f:37:b4";
};
"dn42" = {
ip = "192.168.0.127";
mac = "12:fa:24:02:65:e6";
nix = false;
};
"attic" = { "attic" = {
ip = "192.168.0.128"; ip = "192.168.0.128";
mac = "9E:AF:E9:FE:D4:D9"; mac = "9E:AF:E9:FE:D4:D9";
@ -165,15 +146,8 @@
}; };
nix = false; nix = false;
}; };
# "docker-registry" = { # ip = "192.168.0.130";
# ip = "192.168.0.130"attic, ; # ip = "192.168.0.131";
# mac = "5e:0e:a6:cf:64:70";
# };
"minecraft" = {
ip = "192.168.0.131";
mac = "00:0c:29:9b:e1:c4";
nix = false;
};
"tudelft" = { "tudelft" = {
ip = "192.168.0.132"; ip = "192.168.0.132";
mac = "AE:B3:93:4B:04:76"; mac = "AE:B3:93:4B:04:76";

View file

@ -34,6 +34,12 @@ in
services.postgresql = { services.postgresql = {
enable = true; enable = true;
package = pkgs.postgresql_16; package = pkgs.postgresql_16;
settings = {
shared_preload_libraries = "pg_stat_statements";
"pg_stat_statements.track" = "all";
"pg_stat_statements.max" = 10000;
track_activity_query_size = 2048;
};
# The rest of the database setup is handled by mastodon # The rest of the database setup is handled by mastodon
}; };