add postgres container
This commit is contained in:
parent
0c65cf06d3
commit
ee7670c7dd
1 changed files with 31 additions and 0 deletions
31
hosts/sql/default.nix
Normal file
31
hosts/sql/default.nix
Normal 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";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue