No description
Find a file
2020-02-22 18:52:00 +01:00
.git-crypt Initial commit 2020-02-10 17:27:13 +01:00
machines Add oldtown 2020-02-20 14:29:40 +01:00
packages/node Add a small explanation on how to package node packages 2020-02-22 18:52:00 +01:00
profiles Automatically update locate db 2020-02-22 16:14:31 +01:00
programs Don't use nixpkgs-master anymore 2020-02-22 16:14:31 +01:00
shells Add better vim config to accentor web 2020-02-22 18:44:04 +01:00
.gitattributes Initial commit 2020-02-10 17:27:13 +01:00
.gitignore Add oldtown 2020-02-20 14:29:40 +01:00
README.md Oops 2020-02-22 17:25:01 +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.

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