All Projects → justinwoo → Nix Shorts

justinwoo / Nix Shorts

Licence: cc-by-sa-4.0
A collection of short notes about Nix, down to what is immediately needed for users.

Labels

Projects that are alternatives of or similar to Nix Shorts

Deploy Rs
A simple multi-profile Nix-flake deploy tool.
Stars: ✭ 164 (-19.21%)
Mutual labels:  nix
Comma
Stars: ✭ 186 (-8.37%)
Mutual labels:  nix
Nix Index
Quickly locate nix packages with specific files
Stars: ✭ 197 (-2.96%)
Mutual labels:  nix
Nixos Mailserver
A complete and Simple Nixos Mailserver
Stars: ✭ 172 (-15.27%)
Mutual labels:  nix
Pypi2nix
Abandoned! Generate Nix expressions for Python packages
Stars: ✭ 178 (-12.32%)
Mutual labels:  nix
Nixbox
NixOS Vagrant boxes [[email protected]]
Stars: ✭ 189 (-6.9%)
Mutual labels:  nix
Ihp
🔥 The fastest way to build type safe web apps. IHP is a new batteries-included web framework optimized for longterm productivity and programmer happiness
Stars: ✭ 2,746 (+1252.71%)
Mutual labels:  nix
Arion
Run docker-compose with help from Nix/NixOS
Stars: ✭ 202 (-0.49%)
Mutual labels:  nix
Nixpkgs Wayland
Automated, pre-built packages for Wayland (sway/wlroots) tools for NixOS.
Stars: ✭ 178 (-12.32%)
Mutual labels:  nix
Getting Started Nix Template
Based on nix.dev tutorials, repository template to get you started with Nix.
Stars: ✭ 196 (-3.45%)
Mutual labels:  nix
Musnix
Real-time audio in NixOS
Stars: ✭ 173 (-14.78%)
Mutual labels:  nix
Legacy Old Hercules
Abandoned
Stars: ✭ 174 (-14.29%)
Mutual labels:  nix
Naersk
Build rust crates in Nix. No configuration, no code generation, no IFD. Sandbox friendly.
Stars: ✭ 193 (-4.93%)
Mutual labels:  nix
Nixpkgs Fmt
Nix code formatter for nixpkgs [[email protected]]
Stars: ✭ 171 (-15.76%)
Mutual labels:  nix
Zkeme80
An assembler and operating system for the TI-84+ written in Scheme, Forth and Z80 assembly.
Stars: ✭ 200 (-1.48%)
Mutual labels:  nix
Vulnix
Vulnerability (CVE) scanner for Nix/NixOS.
Stars: ✭ 161 (-20.69%)
Mutual labels:  nix
Nix Docker
Docker images for the Nix package manager
Stars: ✭ 189 (-6.9%)
Mutual labels:  nix
Nixfmt
A formatter for Nix code
Stars: ✭ 201 (-0.99%)
Mutual labels:  nix
All Hies
Cached Haskell IDE Engine Nix builds for all GHC versions
Stars: ✭ 201 (-0.99%)
Mutual labels:  nix
Emacs Overlay
Bleeding edge emacs overlay [[email protected]]
Stars: ✭ 194 (-4.43%)
Mutual labels:  nix

nix-shorts

A collection of short notes about Nix, down to what is immediately needed for users.

The aim of this collection is to provide some instantly usable information with clear code demonstrations.

While you can read the posts in this repo in any order, you might start from how to build your first derivation, to understand how Nix derivations work: https://github.com/justinwoo/nix-shorts/blob/master/posts/your-first-derivation.md

Do you find these posts useful? Would you like to support me and also ask me for help? Please consider supporting me on GitHub Sponsors: https://github.com/sponsors/justinwoo

How to read articles in this repo

All articles are meant to be easy enough to approach with clear examples of terminal commands, code, or file setups. When project setups are needed, appropriate directories will be in this repo and referenced.

When applicable, usernames are replaced with your-user and hashes replaced with some-hash. E.g.

$ readlink ~/.nix-profile
/nix/var/nix/profiles/per-user/justin/profile
$ readlink -f ~/.nix-profile
/nix/store/mwgv8fzlr6n9kkb5nyz27fv1l66jc7nf-user-environment

...will be shown as

$ readlink ~/.nix-profile
/nix/var/nix/profiles/per-user/your-user/profile
$ readlink -f ~/.nix-profile
/nix/store/some-hash-user-environment

Contributing

Small fixes and elaborations can be contributed via PR. Content suggestions can be done via issues. However, many topics that are not critically important to a new user will not be written about here.

Installation of Nix

From nixos.org https://nixos.org/nixos/nix-pills/install-on-your-running-system.html#idm140737316665792:

To install Nix, run curl https://nixos.org/nix/install | sh as a non-root user
and follow the instructions. Alternatively, you may prefer to download the
installation script and verify its integrity using GPG signatures. Instructions
for doing so can be found here: https://nixos.org/nix/download.html.

For more esoteric information, readers should try looking through the Nix Pills.

FAQ

Why not Nix Pills?

Readers of Nix Pills should well know that the purpose of the Nix Pills are clearly stated multiple times in its contents:

These articles are not a tutorial on using Nix. Instead, we're going to walk through the Nix system to understand the fundamentals.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].