mirror of
https://github.com/davegallant/nix-config
synced 2025-10-03 06:26:00 +00:00
0e5cb35ecec704b083bd43e0f13de2756260173e
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/d12318669276c1eaaa5c12940906742334067274' into the Git cache... unpacking 'github:NixOS/nixpkgs/e643668fd71b949c53f8626614b21ff71a07379d' into the Git cache... • Updated input 'home-manager': 'github:nix-community/home-manager/6f656618ebc71ca82d93d306a8aecb2c5f6f2ab2?narHash=sha256-SsI6INUzWwPcRKRaxvi50RttnD9rcC4EjV%2B67TOEfrQ%3D' (2025-09-19) → 'github:nix-community/home-manager/3b955f5f0a942f9f60cdc9cacb7844335d0f21c3?narHash=sha256-uhzsV0Q0I9j2y/rfweWeGif5AWe0MGrgZ/3TjpDYdGA%3D' (2025-09-21) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/d2ed99647a4b195f0bcc440f76edfa10aeb3b743?narHash=sha256-h1BW2y7CY4LI9w61R02wPaOYfmYo82FyRqHIwukQ6SY%3D' (2025-09-18) → 'github:NixOS/nixpkgs/d1d883129b193f0b495d75c148c2c3a7d95789a0?narHash=sha256-zMTCFGe8aVGTEr2RqUi/QzC1nOIQ0N1HRsbqB4f646k%3D' (2025-09-23) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/a1a14fc214eca55473305f741d0f8cf9b1ba905c?narHash=sha256-yzb6J7rNN%2BsDPTUL4m2h98U3mc/gSnLx/D/tCoV2MlA%3D' (2025-09-20) → 'github:NixOS/nixpkgs/d12318669276c1eaaa5c12940906742334067274?narHash=sha256-fWfJvHj%2BncZRKCTKOKWKI9CkbKZXfG3GZNNsjp1y6co%3D' (2025-09-26) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/8eaee110344796db060382e15d3af0a9fc396e0e?narHash=sha256-iCGWf/LTy%2BaY0zFu8q12lK8KuZp7yvdhStehhyX1v8w%3D' (2025-09-19) → 'github:NixOS/nixpkgs/e643668fd71b949c53f8626614b21ff71a07379d?narHash=sha256-NY3kSorgqE5LMm1LqNwGne3ZLMF2/ILgLpFr1fS4X3o%3D' (2025-09-24) • Updated input 'stylix': 'github:danth/stylix/e6fc25cd12e8f461e402cf34649cc73ad93c7bdd?narHash=sha256-FT4O5imFJ%2BFUIGhYj/aFwEEgyvLhuyJ2my8f6mCLtTY%3D' (2025-09-15) → 'github:danth/stylix/fdfa65624eed1e28960c24a27ba27fffc92e9a32?narHash=sha256-UYkixkkd3VgoO7NeSlKcaE3Glt1r1FHmBlziwYijgMQ%3D' (2025-09-24)
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.7%
Shell
1.8%
Just
1.5%