diff --git a/hosts/modules/server/www/default.nix b/hosts/modules/server/www/default.nix index e1cb0cd..c8b984b 100644 --- a/hosts/modules/server/www/default.nix +++ b/hosts/modules/server/www/default.nix @@ -9,5 +9,5 @@ }; "home.anotherhadi.com" = { root = "/etc/www/home.anotherhadi.com"; }; }; - environment.etc."www/anotherhadi.com" = { source = ./home.anotherhadi.com; }; + environment.etc."www/anotherhadi.com" = { source = ./anotherhadi.com; }; } diff --git a/hosts/modules/server/www/home.anotherhadi.com/default.nix b/hosts/modules/server/www/home.anotherhadi.com/default.nix index 51590f5..7ba2f73 100644 --- a/hosts/modules/server/www/home.anotherhadi.com/default.nix +++ b/hosts/modules/server/www/home.anotherhadi.com/default.nix @@ -11,7 +11,7 @@ let ''; in { - environment.etc."www/home.anotherhadi.com".text = '' + environment.etc."www/home.anotherhadi.com/index.html".text = ''