Skip to content

Combination of NIX Shell configurations and their associated start up scripts for vertain work environments.

Notifications You must be signed in to change notification settings

portchris/nix-shells

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NIX Shell Environments

This is a main repository that stores my NIX configurations for certain nix-shell environments.

Currently I have environments for:

On my list of to-dos:

Installation

This requires the Single-user NIX installtion package. Note: this is NOT NixOS but just the package manager.

Then all you have to do is cd into the environment you want to load and run the available script:

./start.sh <my_project_dir>

Environment Variables

Each of my environments attempts to load environment variables via the respective projects .env file. It is therefore likely that this file is required for each project you try to load.

FAQs

What are you trying to solve?

NIX solves the "it worked on my machine" and the "it worked until I rebuilt it" syndromes.

Why are you doing it?

Naturally, whenever there is a need to re-platform / learn new software, there is inevitably a whole bunch of dependencies required. NIX allows me to load all the necessary dependencies required via declarative schema into an independent shell which better compartmentalises my environments.

Why not use Docker instead?

I use NIX for environments, Docker for projects. I value the "package-manager" aspect of it more. It can achieve more with less code. It's also pretty handy when transferring over to a new computer. All I need to do is clone this repo, install nix-shell and BAMM, all the necessary programs are available to me for developing in that respective environment. Additionally, it feels lighter than Docker (don't know if this is true).

About

Combination of NIX Shell configurations and their associated start up scripts for vertain work environments.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published