add postgres container

This commit is contained in:
XenGi 2026-02-03 20:47:52 +01:00
parent 0c65cf06d3
commit ee7670c7dd
Signed by: xengi
SSH key fingerprint: SHA256:dM+fLZGsDvyv6kunjE8bGduL24VsCFB4LEOSdmRHdG0

31
hosts/sql/default.nix Normal file
View file

@ -0,0 +1,31 @@
{ ... }:
{
imports = [
../common.nix
../../services/openssh.nix
];
networking = {
hostName = "sql";
firewall = {
# TODO: add postgres from internal network
};
};
services = {
openssh.banner = ''
___
/\_ \
____ __ \//\ \
/',__\ /'__`\ \ \ \
/\__, `\/\ \L\ \ \_\ \_
\/\____/\ \___, \/\____\
\/___/ \/___/\ \/____/
\ \_\
\/_/
'';
};
system.stateVersion = "25.11";
}