No description
Find a file
2020-06-27 11:18:07 +02:00
.git-crypt Initial commit 2020-02-10 17:27:13 +01:00
configurations Configure nix-shell to allow unfree packages 2020-06-27 11:18:07 +02:00
machines nixpkgs-fmt 2020-05-23 11:41:37 +02:00
modules Add some instructions on how to set-up ZFS for use with the custom module 2020-05-23 10:46:18 +02:00
overlays Reorganize for zfs 2020-05-23 09:59:32 +02:00
packages Update packages 2020-06-23 15:36:18 +02:00
profiles Define some default applications 2020-05-26 10:09:02 +02:00
shells Also use bash for accentor docker script 2020-06-06 11:54:05 +02:00
.gitattributes Initial commit 2020-02-10 17:27:13 +01:00
.gitignore Add oldtown 2020-02-20 14:29:40 +01:00
license.md Add license 2020-05-29 11:31:58 +02:00
README.md Add gems that have binaries installed in a project to the PATH in that project 2020-02-23 15:40:45 +01:00
sample-configuration.nix Add oldtown 2020-02-20 14:29:40 +01:00

NixOS config

Setting up a new dev environment

  • Create a new *.nix file in the shells directory that describes the environment (this is the hard part).

  • Execute lorri init in the base directory of your project. This will create a .envrc file and shell.nix file.

  • Edit the shell.nix file so that it contains import /path/to/this/repo/shells/your-new-file.nix.

  • For shells that have a shellHook that exports environment containing computed directories (e.g. the git root or the current working directory), add eval "$shellHook" to your .envrc.

  • Execute direnv allow to load the .envrc file which in turn uses lorri to load your shell.nix file.