mirror of
https://github.com/davegallant/nix-config
synced 2025-08-13 18:10:19 +00:00
f74d0a2def0b6034a95eabd32191e0d71735aab4
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/ddae11e58c0c345bf66efbddbf2192ed0e58f896' into the Git cache... unpacking 'github:NixOS/nixpkgs/f4824b044a60268c24fd20a25468a1138e535d83' into the Git cache... unpacking 'github:danth/stylix/13e783747d8b90f27bc1e69e3302b5b5e18cf776' into the Git cache... • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/c5f08b62ed75415439d48152c2a784e36909b1bc?narHash=sha256-8OnUzRQZkqtUol9vuUuQC30hzpMreKptNyET2T9lB6g%3D' (2025-08-09) → 'github:NixOS/nixpkgs/ddae11e58c0c345bf66efbddbf2192ed0e58f896?narHash=sha256-3sWA5WJybUE16kIMZ3%2BuxcxKZY/JRR4DFBqLdSLBo7w%3D' (2025-08-11) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/de0c5475c4299ab3f15456fcbe232ebf11565ccd?narHash=sha256-vyyKZ9/iaVldKKR%2BYlg8draCirwMydUz6KXA3eX/MEY%3D' (2025-08-12) → 'github:NixOS/nixpkgs/f4824b044a60268c24fd20a25468a1138e535d83?narHash=sha256-b6VCFcs4fjKtLLSMfnT8laUg6m4S%2BjfGUGehcbOVzV8%3D' (2025-08-13) • Updated input 'stylix': 'github:danth/stylix/61ffae2453d00cb63a133b750232804b209db4d1?narHash=sha256-M%2BCDFvZ4ZuKK3mlbxv%2B37yAwL6X3tIklYgurqbhO7Q4%3D' (2025-08-10) → 'github:danth/stylix/13e783747d8b90f27bc1e69e3302b5b5e18cf776?narHash=sha256-dtLgSAkU6o3skigUB1U6CCdg9Uu%2Byu3OM3m%2BZu2XnPk%3D' (2025-08-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
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%