feat (hosts/mystra): taskd
This commit is contained in:
parent
2bbad71636
commit
a7c598fe42
3 changed files with 32 additions and 15 deletions
|
|
@ -4,23 +4,15 @@
|
|||
./hardware-configuration.nix
|
||||
./disk-config.nix
|
||||
../../nixos/server.nix
|
||||
./nginx.nix
|
||||
./taskd.nix
|
||||
];
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
virtualHosts."henri-saudubray.fr" = {
|
||||
enableACME = true;
|
||||
# forceSSL = true;
|
||||
root = "/var/www/html";
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "henri.saudubray@proton.me";
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
80 # HTTP (nginx)
|
||||
443 # HTTPS (nginx)
|
||||
53589 # Taskserver
|
||||
];
|
||||
|
||||
networking.hostName = "mystra";
|
||||
system.stateVersion = "25.11";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue