A nix flake which allows you to define an environment, which can be input from other flakes.
- Install nix:
sh <(curl -L https://nixos.org/nix/install) --daemon
- Install flake-env using bootstrap-script. The flake is located in
$HOME/.flake-env
:
nix run github:to-bak/flake-env#bootstrap --extra-experimental-features "nix-command flakes"
- Populate
$HOME/.flake-env/env.nix
with variables you desire. - Run
commit.sh
script to apply changes.