mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 18:53:39 +00:00
1ca9fbf8f7b33b3da4f2933f58d0e54973b586dc
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/c7ab75210cb8cb16ddd8f290755d9558edde7ee1' into the Git cache... unpacking 'github:NixOS/nixpkgs/6f7fdf8e4b237e4b8dd3e34625b96e4a0c3c20d4' into the Git cache... • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/b2485d56967598da068b5a6946dadda8bfcbcd37?narHash=sha256-3vkjFnxCOP6vm5Pm13wC/Zy6/VYgei/I/2DWgW4RFeA%3D' (2025-06-20) → 'github:NixOS/nixpkgs/c7ab75210cb8cb16ddd8f290755d9558edde7ee1?narHash=sha256-kMhs%2BYzV4vPGfuTpD3mwzibWUE6jotw5Al2wczI0Pv8%3D' (2025-06-22) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/c86f9aa044b699011b7941b6fb4e369d107b4165?narHash=sha256-%2BlDQ/0KprjtgpVGU%2BA/7DjLiC796ld1UguWaADTeMCs%3D' (2025-06-22) → 'github:NixOS/nixpkgs/6f7fdf8e4b237e4b8dd3e34625b96e4a0c3c20d4?narHash=sha256-P8KY7iIrfex4iXjrqHwYkrjkzl2KOoH/uBu9fS9h02s%3D' (2025-06-24) • Updated input 'pre-commit-hooks': 'github:cachix/git-hooks.nix/623c56286de5a3193aa38891a6991b28f9bab056?narHash=sha256-WUaIlOlPLyPgz9be7fqWJA5iG6rHcGRtLERSCfUDne4%3D' (2025-06-11) → 'github:cachix/git-hooks.nix/fae816c55a75675f30d18c9cbdecc13b970d95d4?narHash=sha256-uLtw0iF9mQ94L831NOlQLPX9wm0qzd5yim3rcwACEoM%3D' (2025-06-23) • Updated input 'stylix': 'github:danth/stylix/c10a257c37a57f5274a841171a02e5bccf5ae027?narHash=sha256-twDY14/KiTarsQwrd0RIbU%2BP1LU/NIWhBBEoVDtEnS0%3D' (2025-06-22) → 'github:danth/stylix/438a702dc2a49a48eae380623cdc04fe36ef5422?narHash=sha256-F8z6QXKRZfVKwTj8%2BUw920tHGDmiRIOD%2BBsA6wVGOgY%3D' (2025-06-23)
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%