Sites statique #5
1 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,7 @@
|
||||||
{ config, ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
services.staticWebsite.test.hostname = "test.${config.my.subZone}";
|
services.staticWebsite.test = {
|
||||||
|
hostname = "test.${config.my.subZone}";
|
||||||
|
root = pkgs.writeTextDir "index.html" "Hello world!";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue