mirror of
https://github.com/davegallant/nix-config
synced 2026-03-03 08:36:36 +00:00
28f45c4fc461daa595a5df5b2885fbc94b17e92f
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/481cf557888e05d3128a76f14c76397b7d7cc869' into the Git cache... unpacking 'github:NixOS/nixpkgs/5d767783ee123cdf55d22ecf157384ebf064029a' into the Git cache... unpacking 'github:NixOS/nixpkgs/01f116e4df6a15f4ccdffb1bcd41096869fb385c' into the Git cache... • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/33c6dca0c0cb31d6addcd34e90a63ad61826b28c?narHash=sha256-PXwG0TM7Ek87DNx4LbGWuD93PbFeKAJs4FfALtp7Wo0%3D' (2025-10-19) → 'github:NixOS/nixpkgs/481cf557888e05d3128a76f14c76397b7d7cc869?narHash=sha256-G/iC4t/9j/52i/nm%2B0/4ybBmAF4hzR8CNHC75qEhjHo%3D' (2025-10-21) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/5f6de49e3b307a21d4ea979ddbdef6f623e1cbb2?narHash=sha256-JjAJQreDLPcP4QW33WBIJN8RhyR4PyfHHvbRekSULG8%3D' (2025-10-21) → 'github:NixOS/nixpkgs/5d767783ee123cdf55d22ecf157384ebf064029a?narHash=sha256-Xav6tjoPbwTl2QTJ3y8yo3H07HHoR0dfr41Tt9qrSqA%3D' (2025-10-23) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/5e2a59a5b1a82f89f2c7e598302a9cacebb72a67?narHash=sha256-K5Osef2qexezUfs0alLvZ7nQFTGS9DL2oTVsIXsqLgs%3D' (2025-10-19) → 'github:NixOS/nixpkgs/01f116e4df6a15f4ccdffb1bcd41096869fb385c?narHash=sha256-f/QCJM/YhrV/lavyCVz8iU3rlZun6d%2BdAiC3H%2BCDle4%3D' (2025-10-22)
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.2%
Just
1.7%