This directory contains examples of use of my repo as a source for other tools/environments!
Drop a file like this in your home directory (~/cfg.nix
) and run nix-env -i -f ~/cfg.nix
to use this file to manage your globally installed nix packages!
Or, use a similar setup within a project directory to create a reproducible environment for that directory!
# use nixup for an easy way to bootstrap a default.nix!
nixup --with_python --with_db_pg >./default.nix
echo "use nix" >.envrc
direnv allow
Examples of some hex files for configuring things on a kubernetes cluster.
This file contains an example of a cfg.nix
file for configuring a global environment on a non-nixOS system. Use this as sort of a lightweight alternative to home-manager
.