add psql passwords; rename md
This commit is contained in:
parent
51d225e7b4
commit
1b2e45f838
6 changed files with 80 additions and 42 deletions
36
hosts/md/default.nix
Normal file
36
hosts/md/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../common.nix
|
||||
../../services/openssh.nix
|
||||
../../services/hedgedoc.nix
|
||||
];
|
||||
|
||||
networking = {
|
||||
hostName = "md";
|
||||
firewall = {
|
||||
allowedTCPPorts = [
|
||||
80 # HTTP/1
|
||||
443 # HTTP/2
|
||||
];
|
||||
allowedUDPPorts = [
|
||||
443 # HTTP/3
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
openssh.banner = ''
|
||||
__
|
||||
/\ \
|
||||
___ ___ \_\ \
|
||||
/' __` __`\ /'_` \
|
||||
/\ \/\ \/\ \/\ \L\ \
|
||||
\ \_\ \_\ \_\ \___,_\
|
||||
\/_/\/_/\/_/\/__,_ /
|
||||
'';
|
||||
};
|
||||
|
||||
system.stateVersion = "25.11";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue