mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-08-21 18:55:47 +02:00
4c39b0044d
Former-commit-id: bbb35737c2
17 lines
408 B
Nix
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; };
|
|
}
|