27 lines
508 B
Nix
27 lines
508 B
Nix
{ ... }:
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./disk-config.nix
|
|
../../nixos/server.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.hostName = "mystra";
|
|
system.stateVersion = "25.11";
|
|
}
|