mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 18:53:39 +00:00
2ffe2e3c65d4fdede8a11691a5fe189647c09e28
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/c86f9aa044b699011b7941b6fb4e369d107b4165' into the Git cache... unpacking 'github:NixOS/nixpkgs/4206c4cb56751df534751b058295ea61357bbbaa' into the Git cache... unpacking 'github:danth/stylix/c10a257c37a57f5274a841171a02e5bccf5ae027' into the Git cache... • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/74c2aa546b33d957987a6b8506d527a2e4c6d9d8?narHash=sha256-L5NpRRTVMvOY4D1BPIunsavIgAoAOmD5YOvaEplhfVQ%3D' (2025-06-21) → 'github:NixOS/nixpkgs/c86f9aa044b699011b7941b6fb4e369d107b4165?narHash=sha256-%2BlDQ/0KprjtgpVGU%2BA/7DjLiC796ld1UguWaADTeMCs%3D' (2025-06-22) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/08f22084e6085d19bcfb4be30d1ca76ecb96fe54?narHash=sha256-XE/lFNhz5lsriMm/yjXkvSZz5DfvKJLUjsS6pP8EC50%3D' (2025-06-19) → 'github:NixOS/nixpkgs/4206c4cb56751df534751b058295ea61357bbbaa?narHash=sha256-VLFNc4egNjovYVxDGyBYTrvVCgDYgENp5bVi9fPTDYc%3D' (2025-06-21) • Updated input 'stylix': 'github:danth/stylix/cc82dae884f45ffeb996d2b5116afa70933e507f?narHash=sha256-Yblt2LusglzBXlg%2BekckztIUgvl1WQwJ7gLRJEt/IHE%3D' (2025-06-19) → 'github:danth/stylix/c10a257c37a57f5274a841171a02e5bccf5ae027?narHash=sha256-twDY14/KiTarsQwrd0RIbU%2BP1LU/NIWhBBEoVDtEnS0%3D' (2025-06-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.6%
Shell
1.9%
Just
1.5%