mirror of
https://github.com/davegallant/nix-config
synced 2026-03-03 08:36:36 +00:00
9b2183e928dd8de7aef2cee80f466ca1b27613a9
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... • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/c2448301fb856e351aab33e64c33a3fc8bcf637d?narHash=sha256-HiRDeUOD1VLklHeOmaKDzf%2B8Hb7vSWPVFcWwaTrpm%2BU%3D' (2025-11-10) → 'github:NixOS/nixpkgs/3acb677ea67d4c6218f33de0db0955f116b7588c?narHash=sha256-A5LS0AJZ1yDPTa2fHxufZN%2B%2Bn8MCmtgrJDtxFxrH4S8%3D' (2025-11-13) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/5749220527bc852a60ea5aebe28ab5b80f9cf06f?narHash=sha256-urvMUVhHXPzHhU97kFTAQM9XB8tvqeXGMng8RfyfAt0%3D' (2025-11-13) → 'github:NixOS/nixpkgs/82e57515ff30d49ccc44ff730c412d201fc90269?narHash=sha256-r/NYhL8BtSqMLxQ2brhZHlBF2cxgtouc/yOQ/dqaYVs%3D' (2025-11-14) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/9da7f1cf7f8a6e2a7cb3001b048546c92a8258b4?narHash=sha256-SlybxLZ1/e4T2lb1czEtWVzDCVSTvk9WLwGhmxFmBxI%3D' (2025-11-11) → 'github:NixOS/nixpkgs/c5ae371f1a6a7fd27823bc500d9390b38c05fa55?narHash=sha256-4PqRErxfe%2B2toFJFgcRKZ0UI9NSIOJa%2B7RXVtBhy4KE%3D' (2025-11-12)
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%