UPDATE: Moving into NixOS

Added also an errata.
This commit is contained in:
Gabriel Arazas 2020-11-15 04:26:17 +08:00
parent 92a341d86a
commit bac1316eda

View File

@ -106,7 +106,7 @@ sudo git clone $MY_NIXOS_CONFIG_URL /etc/dotfiles
PREFIX=/mnt USER=foo-dogsquared HOST=zilch make -C /etc/dotfiles install
----
Even better, I can set the above snippet as a https://nix.dev/tutorials/ad-hoc-developer-environments.html#reproducible-executables[reproducible executable] by just setting the shebang as follows.
Even better, I can set the above snippet as a https://nix.dev/tutorials/ad-hoc-developer-environments.html#reproducible-executables[reproducible executable] by just setting the shebang and removing the `nix-env` line.
[source, bash]
----
@ -178,6 +178,13 @@ Still, we'll see how this turns out in the next year or so if it still holds up.
== Errata
* [2020-11-15] Updated the reproducible executable instructions.
[appendix]
== An opinionated guide on how to learn Nix