Skip to content

Nix Flake to inject environment as input to other flakes.

Notifications You must be signed in to change notification settings

to-bak/flake-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is flake-env?

A nix flake which allows you to define an environment, which can be input from other flakes.

Installation

  1. Install nix:
sh <(curl -L https://nixos.org/nix/install) --daemon
  1. 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"
  1. Populate $HOME/.flake-env/env.nix with variables you desire.
  2. Run commit.sh script to apply changes.

About

Nix Flake to inject environment as input to other flakes.

Resources

Stars

Watchers

Forks

Packages

No packages published