37 lines
610 B
Nix
37 lines
610 B
Nix
{ ... }:
|
|
|
|
{
|
|
imports = [
|
|
../common.nix
|
|
../../services/openssh.nix
|
|
../../services/prometheus-node.nix
|
|
./radicale.nix
|
|
];
|
|
|
|
networking = {
|
|
hostName = "dav";
|
|
firewall = {
|
|
allowedTCPPorts = [
|
|
80 # HTTP/1
|
|
443 # HTTP/2
|
|
];
|
|
allowedUDPPorts = [
|
|
443 # HTTP/3
|
|
];
|
|
};
|
|
};
|
|
|
|
services = {
|
|
openssh.banner = ''
|
|
__
|
|
/\ \
|
|
\_\ \ __ __ __
|
|
/'_` \ /'__`\ /\ \/\ \
|
|
/\ \L\ \/\ \L\.\_\ \ \_/ |
|
|
\ \___,_\ \__/.\_\\ \___/
|
|
\/__,_ /\/__/\/_/ \/__/
|
|
'';
|
|
};
|
|
|
|
system.stateVersion = "26.05";
|
|
}
|