mirror of
https://github.com/davegallant/nix-config
synced 2026-01-07 02:34:07 +00:00
e2957c13fe30a49213ef102393e2936f6e77cff9
Run `man nix.conf` for more information on the `substituters` configuration option. Run `man nix.conf` for more information on the `substituters` configuration option. unpacking 'https://flakehub.com/f/DeterminateSystems/determinate/%2A' into the Git cache... unpacking 'github:NixOS/nixpkgs/daf6dc47aa4b44791372d6139ab7b25269184d55' into the Git cache... unpacking 'github:NixOS/nixpkgs/b976292fb39a449bcf410219e4cf0aa05a8b4d04' into the Git cache... unpacking 'github:NixOS/nixpkgs/08dacfca559e1d7da38f3cf05f1f45ee9bfd213c' into the Git cache... • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/78e34d1667d32d8a0ffc3eba4591ff256e80576e?narHash=sha256-vY2OLVg5ZTobdroQKQQSipSIkHlxOTrIF1fsMzPh8w8%3D' (2025-10-26) → 'github:NixOS/nixpkgs/daf6dc47aa4b44791372d6139ab7b25269184d55?narHash=sha256-wxX7u6D2rpkJLWkZ2E932SIvDJW8%2BON/0Yy8%2Ba5vsDU%3D' (2025-10-27) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/a001d8a8c2e8bd8cf4abecadbc1f3dbf342614dc?narHash=sha256-M6JTjIeMJx8lEARGGUade40XGvxGeZLzeUGgcejRC%2Bk%3D' (2025-10-28) → 'github:NixOS/nixpkgs/b976292fb39a449bcf410219e4cf0aa05a8b4d04?narHash=sha256-NmiCO/7hKv3TVIXXtEAkpGHiJzQc/5z8PT8tO%2BSKPZA%3D' (2025-10-31) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/6a08e6bb4e46ff7fcbb53d409b253f6bad8a28ce?narHash=sha256-Q/uhWNvd7V7k1H1ZPMy/vkx3F8C13ZcdrKjO7Jv7v0c%3D' (2025-10-25) → 'github:NixOS/nixpkgs/08dacfca559e1d7da38f3cf05f1f45ee9bfd213c?narHash=sha256-o9KF3DJL7g7iYMZq9SWgfS1BFlNbsm6xplRjVlOCkXI%3D' (2025-10-28) • Updated input 'stylix': 'github:danth/stylix/1ec254101285777db13922303cc47ded06e10bb3?narHash=sha256-Y4l%2BY3zUvqIDbyLrtOrzNvp1o50Fp9TYK%2BiwtwweFU4%3D' (2025-10-14) → 'github:danth/stylix/a149a557dc306e76d53e7dd488826e61ef9c6289?narHash=sha256-b0%2B7/5hBUsLjd/gMY9/LSEsvuWFFolHdpUAOlG73zmw%3D' (2025-10-28)
nix-config
This repo stores nix configuration to manage my hosts running NixOS and macOS.
The configuration is very specific to my own machines and setup, but it may be a useful reference for anyone else learning or experimenting with nix, whether it be on a personal workstation or a server environment.
Prerequisites
Build
To run a build/rebuild:
just rebuild
Update
To update nixpkgs defined in flake.nix, run:
just update
If there are updates, they should be reflected in flake.lock.
Rollback
To rollback to the previous generation:
just rollback
Garbage collection
To cleanup previous files, run nix garbage collection:
just clean
Pre-commit hooks
Run nix develop to install the pre-commit hooks.
Languages
Nix
96.1%
Shell
2.3%
Just
1.6%