mirror of
https://github.com/davegallant/nix-config
synced 2025-08-10 11:22:27 +00:00
e2e17ca2e7aa1a4208f0b1be06ff7f787fc68776
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/fc756aa6f5d3e2e5666efcf865d190701fef150a' into the Git cache... unpacking 'github:NixOS/nixpkgs/b29d970aa1216b84d794d41c734e33646e074c08' into the Git cache... • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/ce01daebf8489ba97bd1609d185ea276efdeb121?narHash=sha256-1ziydHSiDuSnaiPzCQh1mRFBsM2d2yRX9I%2B5OPGEmIE%3D' (2025-08-04) → 'github:NixOS/nixpkgs/fc756aa6f5d3e2e5666efcf865d190701fef150a?narHash=sha256-eogqv6FqZXHgqrbZzHnq43GalnRbLTkbBbFtEfm1RSc%3D' (2025-08-08) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/ed8de67f843fca1529858340afd648399f8b15e0?narHash=sha256-mw/BHV3YlNfsaVkZYO9sTC2NcTy1X%2Bu3SJ0YCp5ifY8%3D' (2025-08-08) → 'github:NixOS/nixpkgs/b29d970aa1216b84d794d41c734e33646e074c08?narHash=sha256-7Oicb60A4oNTvfz2mLeR2k%2B5/jgS/xDmL%2BNi2td1peQ%3D' (2025-08-10)
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%