mirror of
https://github.com/davegallant/nix-config
synced 2025-10-03 06:26:00 +00:00
155e5ac03a328ceeabe6051211a03caf259f07d0
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:nix-community/home-manager/f21d9167782c086a33ad53e2311854a8f13c281e' into the Git cache... unpacking 'github:NixOS/nixpkgs/9a094440e02a699be5c57453a092a8baf569bdad' into the Git cache... unpacking 'github:NixOS/nixpkgs/778df63b5ba5dde5b4989dba249dd5c96dacbf3f' into the Git cache... unpacking 'github:NixOS/nixpkgs/c23193b943c6c689d70ee98ce3128239ed9e32d1' into the Git cache... unpacking 'github:nix-community/nixvim/e04e652cb0ef65ef8c8fb3b64c64a7e9b1166968' into the Git cache... • Updated input 'home-manager': 'github:nix-community/home-manager/07fc025fe10487dd80f2ec694f1cd790e752d0e8?narHash=sha256-Xd1vOeY9ccDf5VtVK12yM0FS6qqvfUop8UQlxEB%2BgTQ%3D' (2025-08-31) → 'github:nix-community/home-manager/f21d9167782c086a33ad53e2311854a8f13c281e?narHash=sha256-K6PEI5PYY94TVMH0mX3MbZNYFme7oNRKml/85BpRRAo%3D' (2025-09-14) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/8cd5ce828d5d1d16feff37340171a98fc3bf6526?narHash=sha256-mCxPABZ6jRjUQx3bPP4vjA68ETbPLNz9V2pk9tO7pRQ%3D' (2025-09-10) → 'github:NixOS/nixpkgs/9a094440e02a699be5c57453a092a8baf569bdad?narHash=sha256-Vp9K5ol6h0J90jG7Rm4RWZsCB3x7v5VPx588TQ1dkfs%3D' (2025-09-14) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/48df6dc4bc8745e56062ba340a29952162eda700?narHash=sha256-qjhhLkRBdbb463AxgcNfvr6r3U9xiDUuvDKIMjxkhks%3D' (2025-09-13) → 'github:NixOS/nixpkgs/778df63b5ba5dde5b4989dba249dd5c96dacbf3f?narHash=sha256-qelL8nhMuZ%2Bp0LoUkcpR6huz5XSuf5B3sa1DLSPtAIA%3D' (2025-09-14) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/ab0f3607a6c7486ea22229b92ed2d355f1482ee0?narHash=sha256-zwE/e7CuPJUWKdvvTCB7iunV4E/%2BG0lKfv4kk/5Izdg%3D' (2025-09-10) → 'github:NixOS/nixpkgs/c23193b943c6c689d70ee98ce3128239ed9e32d1?narHash=sha256-hLEO2TPj55KcUFUU1vgtHE9UEIOjRcH/4QbmfHNF820%3D' (2025-09-13) • Updated input 'nixvim': 'github:nix-community/nixvim/af51ab6dceb2881593d63d5d101bdcb02bbd5ea1?narHash=sha256-OF7qMg9dzgcyPcw1ohI8zCUnXSSM0yS6ab74R4ViTKY%3D' (2025-09-09) → 'github:nix-community/nixvim/e04e652cb0ef65ef8c8fb3b64c64a7e9b1166968?narHash=sha256-eU8CtpcD3JXAGWL2HxTYYbsrF9DfjYIh6OCbcK/d0Uo%3D' (2025-09-13) • Updated input 'nixvim/nuschtosSearch': 'github:NuschtOS/search/5feeaeefb571e6ca2700888b944f436f7c05149b?narHash=sha256-8QX7Ab5CcICp7zktL47VQVS%2BQeaU4YDNAjzty7l7TQE%3D' (2025-09-01) → 'github:NuschtOS/search/da8bcb74407e41d334fc79081fdd8948b795bd6f?narHash=sha256-25ExS2AkQD05Jf0Y2Wnn5KHpucN2d3ObEQOVaDh7ubg%3D' (2025-09-11)
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%