mirror of
https://github.com/davegallant/nix-config
synced 2026-03-03 08:36:36 +00:00
c5e1babb7b55c6f45f9189016fae574cfe5df586
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/f7da3f7c3f224fcf3f5905ee3f956a07169f4889' into the Git cache... • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/3acb677ea67d4c6218f33de0db0955f116b7588c?narHash=sha256-A5LS0AJZ1yDPTa2fHxufZN%2B%2Bn8MCmtgrJDtxFxrH4S8%3D' (2025-11-13) → 'github:NixOS/nixpkgs/4c8cdd5b1a630e8f72c9dd9bf582b1afb3127d2c?narHash=sha256-LBVOyaH6NFzQ3X/c6vfMZ9k4SV2ofhpxeL9YnhHNJQQ%3D' (2025-11-16) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/2831effd27af17af67d1e64d2fb5ef94cec5fff1?narHash=sha256-8O0Tixx2Z1IqDBo4eEwZWqdCxeE9tr1KmfTrRuPtObg%3D' (2025-11-17) → 'github:NixOS/nixpkgs/f7da3f7c3f224fcf3f5905ee3f956a07169f4889?narHash=sha256-GhrGsVAt8Hb3Pa/r8qGPZfWxd%2BFmqnHdpopEiacV4AU%3D' (2025-11-18) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/50a96edd8d0db6cc8db57dab6bb6d6ee1f3dc49a?narHash=sha256-Y7TDFPK4GlqrKrivOcsHG8xSGqQx3A6c%2Bi7novT85Uk%3D' (2025-11-16) → 'github:NixOS/nixpkgs/89c2b2330e733d6cdb5eae7b899326930c2c0648?narHash=sha256-Stk9ZYRkGrnnpyJ4eqt9eQtdFWRRIvMxpNRf4sIegnw%3D' (2025-11-17)
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
- NixOS (Linux)
- Determinate Nix (macOS)
- just
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
Languages
Nix
96.1%
Shell
2.2%
Just
1.7%