mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 03:13:38 +00:00
14315632cef78284bf1929c70b7758bea87e6f76
Run `man nix.conf` for more information on the `substituters` configuration option. Run `man nix.conf` for more information on the `substituters` configuration option. 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 'https://flakehub.com/f/DeterminateSystems/fh/%2A' into the Git cache... unpacking 'https://flakehub.com/f/nix-community/home-manager/%2A' into the Git cache... unpacking 'https://flakehub.com/f/NixOS/nixpkgs/%2A' into the Git cache... unpacking 'https://flakehub.com/f/NixOS/nixpkgs/0.1' into the Git cache... • Updated input 'nixpkgs-unstable': 'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.785698%2Brev-b024ced1aac25639f8ca8fdfc2f8c4fbd66c48ef/0196495e-a6ea-7da5-be44-0ab8d91943f4/source.tar.gz?narHash=sha256-fusHbZCyv126cyArUwwKrLdCkgVAIaa/fQJYFlCEqiU%3D' (2025-04-17) → 'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.787278%2Brev-c11863f1e964833214b767f4a369c6e6a7aba141/01965f13-2a6b-76bb-86a2-9cdd58892f68/source.tar.gz?narHash=sha256-GfpyMzxwkfgRVN0cTGQSkTC0OHhEkv3Jf6Tcjm//qZ0%3D' (2025-04-21) • Updated input 'nixvim': 'github:nix-community/nixvim/a22fbed4c4784e6a9761f9a896d31da98c3117b2?narHash=sha256-3oO3CwYmZE5P4Hp5XR5WCZbF/rj5%2BkF0m5sTNTMDYss%3D' (2025-04-12) → 'github:nix-community/nixvim/d35dc6dfcae3ff1a0c72f2d59491a7d83e5505a3?narHash=sha256-YuQRMvqLVu%2Bghl2XzqXyVg/YevH/t3XHVCl7w%2BUrCH8%3D' (2025-04-19) • Updated input 'nixvim/home-manager': 'github:nix-community/home-manager/b4e98224ad1336751a2ac7493967a4c9f6d9cb3f?narHash=sha256-t7dFCDl4vIOOUMhEZnJF15aAzkpaup9x4ZRGToDFYWI%3D' (2025-04-08) → 'github:nix-community/home-manager/c61bfe3ae692f42ce688b5865fac9e0de58e1387?narHash=sha256-iyn/WBYDc7OtjSawbegINDe/gIkok888kQxk3aVnkgg%3D' (2025-04-15) • Updated input 'nixvim/nuschtosSearch': 'github:NuschtOS/search/c0e7d3bda11e2cfad692d205d82757078475957a?narHash=sha256-/Wf5Ca0DmV%2By%2BqVBDXX8HAfAvSQI6y5oE27dv6t1jXk%3D' (2025-04-11) → 'github:NuschtOS/search/066afe8643274470f4a294442aadd988356a478f?narHash=sha256-8v4y6k16Ra/fiecb4DxhsoOGtzLKgKlS%2B9/XJ9z0T2I%3D' (2025-04-19) • Updated input 'nixvim/nuschtosSearch/ixx': 'github:NuschtOS/ixx/9fd01aad037f345350eab2cd45e1946cc66da4eb?narHash=sha256-EiOq8jF4Z/zQe0QYVc3%2BqSKxRK//CFHMB84aYrYGwEs%3D' (2024-10-26) → 'github:NuschtOS/ixx/a1176e2a10ce745ff8f63e4af124ece8fe0b1648?narHash=sha256-fTVAWzT1UMm1lT%2BYxHuVPtH%2BDATrhYfea3B0MxG/cGw%3D' (2025-01-20) • Updated input 'nixvim/treefmt-nix': 'github:numtide/treefmt-nix/815e4121d6a5d504c0f96e5be2dd7f871e4fd99d?narHash=sha256-uhjnlaVTWo5iD3LXics1rp9gaKgDRQj6660%2BgbUU3cE%3D' (2025-04-04) → 'github:numtide/treefmt-nix/8d404a69efe76146368885110f29a2ca3700bee6?narHash=sha256-aRmUh0AMwcbdjJHnytg1e5h5ECcaWtIFQa6d9gI85AI%3D' (2025-04-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.6%
Shell
1.9%
Just
1.5%