update README
This commit is contained in:
parent
399091f9b3
commit
2c9a097e9b
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
This web page is also available as [[https://nixos.wiki/wiki/Flakes][Nix Flake]].
|
This web page is also available as [[https://nixos.wiki/wiki/Flakes][Nix Flake]].
|
||||||
The =index.html= file is provided in =/var/www/socialize= of the flake output.
|
The =index.html= file is provided in =/var/www/socialize= of the flake output.
|
||||||
To use it for example with Nginx, the flake (included as =socialize=) content can be used like this:
|
To use it for example with Nginx, the flakes (here included as =socialize=) content can be accessed like this:
|
||||||
|
|
||||||
#+begin_example nix
|
#+begin_example nix
|
||||||
services.nginx.virtualHosts."example.org".locations."/".root = "${socialize.packages."<your-arch>".socialize}/var/www/socialize";
|
services.nginx.virtualHosts."example.org".locations."/".root = "${socialize.packages."<your-arch>".socialize}/var/www/socialize";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue