Commit graph

9 commits

Author SHA1 Message Date
Timothy DeHerrera 3a626b6cf2
shell: don't overwrite nix by default
For users who already have nix-command setup, we don't want to override
the `nix` in their path.
2020-12-19 18:11:21 -07:00
Timothy DeHerrera 70723403cc
direnv: flake based envs are pure by default
We should reflect this in the IN_NIX_SHELL envar, since it doesn't
get set properly otherwise.
2020-12-19 17:49:18 -07:00
Timothy DeHerrera a71bc1e0bf
envrc: flakes should be considered pure 2020-12-14 16:55:02 -07:00
Timothy DeHerrera dde189fb98
envrc: use flake if available 2020-08-02 13:30:50 -06:00
Timothy DeHerrera 29f5382539
direnv: add flake profile so shell isn't GC'd 2020-07-20 18:53:21 -06:00
Timothy DeHerrera c9495ea881
direnv: use nix print-dev-env
In order to increase determinism in the build environment, we are
having direnv load the shell environment from the flake's `devShell`
output, instead of the traditional `nix-shell` approach. Of course,
one can still enter a `nix-shell` manually on a system without flake
support installed.
2020-07-13 20:00:47 -06:00
Timothy DeHerrera 73d3826d64
Initialize template branch
Remove all idiosyncratic stuff and only leave profiles, modules and pkg
definitions, which are general and applicable for any configuration.
2020-01-03 17:47:17 -07:00
Timothy DeHerrera 92f78f3d93
shell.nix: init minimal 2020-01-01 21:01:58 -07:00
Timothy DeHerrera 1c79781936
niximg: init iso configuration
Easily build the iso using `nix build $ISO` thanks to direnv.
2020-01-01 19:12:59 -07:00