This repository contains the sources of the nixos.org
website. To
build it:
$ git clone git@github.com:NixOS/nixos-homepage.git
$ cd nixos-homepage
$ nix-shell
[nix-shell]$ make
[nix-shell]$ python -m http.server 8000
then open http://127.0.0.1:8000/index.html
To automatically rebuild on every change:
[nix-shell]$ fd | entr make
To test the complete result from a nix-build:
$ nix-build
$ nix-shell --run 'python -m http.server 8000 --directory result'
The content of the website is licensed under the Creative Commons Attribution Share Alike 4.0 International license.
The software (including sample code) is licensed under the MIT license.
Some files might have a different license. See the files content for details.