cachix

Cachix is a binary cache for Nix packages, allowing users to share and distribute pre-built binaries.

channels

commands

find package in store nix eval <channel>.<package>.outPath # a package in nixpkgs like tailscale nix eval nixpkgs.tailscale.outPath nix search nixpkgs tailscale # a package in a flake nix eval .#nixos.tailscale.outPath # a package that is system also needs sudo sudo nix eval nixos.tailscale.outPath # evaluate a nix expression result without building it nix eval -f . nixos --raw # exclude surrounding quotes and terminate newline we can also use nix repl for searching nixpkgs

containers

debugging

derivations

expressions

flakes

home manager

language

modules

nixops

package manager

profiles

/nix/var/nix/profiles A user can have their own profile or can share a profile with other users. Have a different profile is like having a separate user account. –switch-profile

references

repl

sopsnix

Secrets management for NixOS