Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

examples

This directory contains examples of use of my repo as a source for other tools/environments!

How to use cfg.nix

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

In this directory

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.