mirror of
https://github.com/davegallant/nix-config
synced 2026-01-07 18:54:06 +00:00
c9973f39ae8ed21cdd9c683aa155b5ac50374e51
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/735cf1f2a15de9b5db06c260cf0ea826ef67f108' into the Git cache... • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/f9346f62a0e4db9839bf1bd19c8217817621f938?narHash=sha256-CbZR1R%2BwDONmGHnO4bg25dmhUGj8RGJ7uowdxbr1Yiw%3D' (2025-11-06) → 'github:NixOS/nixpkgs/735cf1f2a15de9b5db06c260cf0ea826ef67f108?narHash=sha256-yCVgOVyrcT4h5P9vfslK5gDNEyEwiPej9Ovksc6QI8U%3D' (2025-11-06) • Updated input 'pre-commit-hooks': 'github:cachix/git-hooks.nix/ca5b894d3e3e151ffc1db040b6ce4dcc75d31c37?narHash=sha256-BflA6U4AM1bzuRMR8QqzPXqh8sWVCNDzOdsxXEguJIc%3D' (2025-10-17) → 'github:cachix/git-hooks.nix/8e7576e79b88c16d7ee3bbd112c8d90070832885?narHash=sha256-j%2BrNQ119ffYUkYt2YYS6rnd6Jh/crMZmbqpkGLXaEt0%3D' (2025-11-06) • Updated input 'pre-commit-hooks/nixpkgs': 'github:NixOS/nixpkgs/647e5c14cbd5067f44ac86b74f014962df460840?narHash=sha256-JVZl8NaVRYb0%2B381nl7LvPE%2BA774/dRpif01FKLrYFQ%3D' (2025-09-28) → 'github:NixOS/nixpkgs/dc704e6102e76aad573f63b74c742cd96f8f1e6c?narHash=sha256-O7eHcgkQXJNygY6AypkF9tFhsoDQjpNEojw3eFs73Ow%3D' (2025-10-02)
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%