mirror of
https://github.com/davegallant/nix-config
synced 2025-10-03 06:26:00 +00:00
eff635646f7ed3cd510099f54d547a3a551f88ad
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/48f4c982de68d966421d2b6f1ddbeb6227cc5ceb' into the Git cache... unpacking 'github:NixOS/nixpkgs/b9f6f02d161095c1766660dd0ff202b45fd0d215' into the Git cache... unpacking 'github:cachix/git-hooks.nix/4b04db83821b819bbbe32ed0a025b31e7971f22e' into the Git cache... unpacking 'github:danth/stylix/431ca71147e184b30a9924f99f8ac8c4314184c9' into the Git cache... • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/ad7196ae55c295f53a7d1ec39e4a06d922f3b899?narHash=sha256-rTInmnp/xYrfcMZyFMH3kc8oko5zYfxsowaLv1LVobY%3D' (2025-08-15) → 'github:NixOS/nixpkgs/48f4c982de68d966421d2b6f1ddbeb6227cc5ceb?narHash=sha256-axUoWcm4cNQ36jOlnkD9D40LTfSQgk8ExfHSRm3rTtg%3D' (2025-08-17) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/25563081d1d75a9866a169c65bb5b40bcefee69d?narHash=sha256-%2BSPlLC/V/NEgIOL0XXgs01wfWp7QyEFSuaJvRpdavkc%3D' (2025-08-17) → 'github:NixOS/nixpkgs/b9f6f02d161095c1766660dd0ff202b45fd0d215?narHash=sha256-PwJawlJQzUvQQ%2BofRQUo3Q50%2BLr812CsosASpo7xHZg%3D' (2025-08-18) • Updated input 'pre-commit-hooks': 'github:cachix/git-hooks.nix/9c52372878df6911f9afc1e2a1391f55e4dfc864?narHash=sha256-c6yg0EQ9xVESx6HGDOCMcyRSjaTpNJP10ef%2B6fRcofA%3D' (2025-08-05) → 'github:cachix/git-hooks.nix/4b04db83821b819bbbe32ed0a025b31e7971f22e?narHash=sha256-I0Ok1OGDwc1jPd8cs2VvAYZsHriUVFGIUqW%2B7uSsOUM%3D' (2025-08-17) • Updated input 'stylix': 'github:danth/stylix/1a6d802cdd3ba08647335b891f625a115710b678?narHash=sha256-ABCz0Yaz27OxvbP4tx3c8O2iu6R2fxdfV/4hO9Bc%2BI4%3D' (2025-08-14) → 'github:danth/stylix/431ca71147e184b30a9924f99f8ac8c4314184c9?narHash=sha256-G4ML0jiSEgVepOJzBRvrzZAA%2BJJKpAZXmYKYCg0QaRU%3D' (2025-08-18)
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%