No description
Find a file
Charlotte Van Petegem dc81f79b27 Use joplin for notes
2020-02-22 21:09:46 +01:00
.git-crypt Initial commit 2020-02-10 17:27:13 +01:00
machines nixpkgs-fmt 2020-02-22 19:33:27 +01:00
packages nixpkgs-fmt 2020-02-22 19:33:27 +01:00
profiles Use joplin for notes 2020-02-22 21:09:46 +01:00
programs Use joplin for notes 2020-02-22 21:09:46 +01:00
shells nixpkgs-fmt 2020-02-22 19:33:27 +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.