Skip to content

Instantly share code, notes, and snippets.

@ryuheechul
Last active January 30, 2023 19:02
Show Gist options
  • Save ryuheechul/a0bd4e4b69565da86301ee8cc26311e1 to your computer and use it in GitHub Desktop.
Save ryuheechul/a0bd4e4b69565da86301ee8cc26311e1 to your computer and use it in GitHub Desktop.
Personal micro wiki for nix(os)

How Nix works

Nix is a purely functional package manager

/nix folder in my dotfiles repo

this is how I utilize nix to have better management of initial setup in terms of both logically and performantely better

How I package Docker image using Nix

My first attempt to package with Nix for a Docker image with Dockerfile

From Homebrew to Home Manager

nice write up for someone who's looking for an alternative to Homebrew

I was Wrong about Nix

it's a nice write up about benefits of Nix and it cotains many good links as well

Environments with Nix Shell - Learning Nix pt 1

explains common nix expression structure with "common" nix files you encounter often

An Introduction to Nix Shell

Tips from experience about Nix shell for beginners

The Quest for Minimal Docker Images, part 3

"Creating minimal images with Nix" section shows you an example Dockerfile

Install packages from files

the single best answer that I got for this topic

Nix by example

focuses on Nix language itself with examples

Nixology

Youtube channel/playlist about Nix. Quite useful to feel more familar with little more in-depth of different nix tool stuff

nixcloud.io/tour

A great way to quickly get familiar with the language itself

My first Nix derivation

Very helpful for writing my first derviation as well

Nix - A One Pager

Another language primer, short but useful

@ryuheechul
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment