No description
Find a file
2020-02-22 16:14:31 +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 Switch up organization of nix shells 2020-02-22 16:14:31 +01:00
profiles Automatically update locate db 2020-02-22 16:14:31 +01:00
programs Switch up organization of nix shells 2020-02-22 16:14:31 +01:00
shells Switch up organization of nix shells 2020-02-22 16:14:31 +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 Switch up organization of nix shells 2020-02-22 16:14:31 +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.