mirror of
https://github.com/davegallant/nix-config
synced 2025-10-03 06:26:00 +00:00
f1b4bb105e42d8eb9c616fbf031f82f0a7f7e7d4
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/e8a069ed084fc336f1c27d620057a7108be3ec48' into the Git cache... • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/9a094440e02a699be5c57453a092a8baf569bdad?narHash=sha256-Vp9K5ol6h0J90jG7Rm4RWZsCB3x7v5VPx588TQ1dkfs%3D' (2025-09-14) → 'github:NixOS/nixpkgs/e9b7f2ff62b35f711568b1f0866243c7c302028d?narHash=sha256-uLwwHFCZnT1c3N3biVe/0hCkag2GSrf9%2BM56%2BOkf%2BWY%3D' (2025-09-17) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/778df63b5ba5dde5b4989dba249dd5c96dacbf3f?narHash=sha256-qelL8nhMuZ%2Bp0LoUkcpR6huz5XSuf5B3sa1DLSPtAIA%3D' (2025-09-14) → 'github:NixOS/nixpkgs/e8a069ed084fc336f1c27d620057a7108be3ec48?narHash=sha256-QUBBpksq1aLXWzhXVL6QYUAGfu59uuq%2Bjh2h54uoQa8%3D' (2025-09-18) • Updated input 'pre-commit-hooks': 'github:cachix/git-hooks.nix/b084b2c2b6bc23e83bbfe583b03664eb0b18c411?narHash=sha256-tJ7A8mID3ct69n9WCvZ3PzIIl3rXTdptn/lZmqSS95U%3D' (2025-09-11) → 'github:cachix/git-hooks.nix/54df955a695a84cd47d4a43e08e1feaf90b1fd9b?narHash=sha256-ytw7ROXaWZ7OfwHrQ9xvjpUWeGVm86pwnEd1QhzawIo%3D' (2025-09-17) • Updated input 'pre-commit-hooks/nixpkgs': 'github:NixOS/nixpkgs/cab778239e705082fe97bb4990e0d24c50924c04?narHash=sha256-lgmUyVQL9tSnvvIvBp7x1euhkkCho7n3TMzgjdvgPoU%3D' (2025-08-04) → 'github:NixOS/nixpkgs/08b8f92ac6354983f5382124fef6006cade4a1c1?narHash=sha256-TjqVmbpoCqWywY9xIZLTf6ANFvDCXdctCjoYuYPYdMI%3D' (2025-09-16) • Updated input 'stylix': 'github:danth/stylix/3bf1430ed85a4484e4e1facee2344d2bb20288e6?narHash=sha256-GwObJtrAqVim66e4Jb5VzAKT6zGFJ3KOi63rfcrfMV4%3D' (2025-09-08) → 'github:danth/stylix/e6fc25cd12e8f461e402cf34649cc73ad93c7bdd?narHash=sha256-FT4O5imFJ%2BFUIGhYj/aFwEEgyvLhuyJ2my8f6mCLtTY%3D' (2025-09-15)
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%