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