diff options
author | Francesco Gazzetta <fgaz@fgaz.me> | 2018-12-21 19:17:39 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-12-21 17:25:46 -0500 |
commit | aa42de91d10bf1ab18d61eccb4da35b2298b247c (patch) | |
tree | 8f671477680ab24c645d0334e7a427bdd91f8c78 /builds.sr.ht/manifest.md | |
parent | 68210e857eabfd2f17ff28c751f5bb3e8298c37e (diff) | |
download | sr.ht-docs-aa42de91d10bf1ab18d61eccb4da35b2298b247c.tar.gz |
Add nixos image docs
Diffstat (limited to 'builds.sr.ht/manifest.md')
-rw-r--r-- | builds.sr.ht/manifest.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/builds.sr.ht/manifest.md b/builds.sr.ht/manifest.md index 7e51006..694daa1 100644 --- a/builds.sr.ht/manifest.md +++ b/builds.sr.ht/manifest.md @@ -46,6 +46,10 @@ A list of package names to install on the image. - **Arch Linux** installs these packages with `yay` - **Debian** installs these packages with `apt-get install` - **FreeBSD** installs these packages with `pkg` +- **NixOS** installs these packages with `nix-env -iA`. Since it's possible to + specify multiple channels, you must provide the full selection path, + for example `nixpkgs.hello`. Note that the `nixpkgs` channel is **not** + added by default. ## repositories @@ -67,6 +71,10 @@ The format is name: url, and the syntax of url varies between images. e.g. `main` or `non-free`, and `key-id` is an optional PGP key ID to add to apt-key. - **FreeBSD** images do not support extra package repositories. +- **NixOS** uses `channel-url`. The repo name is relevant, since + `repo-name: repo-url` wil execute the commands + `nix-channel --add repo-url repo-name` and `nix-channel --update repo-name`. + Given the nature of nix, no channel is added by default. ## sources |