Files
nixy/hosts/server/modules/www/default.nix
Hadi e93e5807f9 Update
Former-commit-id: bbb35737c2
2024-06-23 14:45:51 +02:00

17 lines
408 B
Nix

{
imports = [
./home.anotherhadi.com.nix
./start.anotherhadi.com.nix
./anotherhadi.com.nix
];
services.nginx.virtualHosts = {
"anotherhadi.com" = {
serverAliases = [ "www.anotherhadi.com" ];
root = "/etc/www/anotherhadi.com";
};
"test.anotherhadi.com" = { root = "/var/www/test"; };
};
environment.etc."www/anotherhadi.com" = { source = ./anotherhadi.com; };
}