mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 10:33:39 +00:00
9dc9ae4f99712d6d493ff32d5814a62f0b127c90
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 'github:lnl7/nix-darwin/536f951efb1ccda9b968e3c9dee39fbeb6d3fdeb' into the Git cache... unpacking 'https://flakehub.com/f/DeterminateSystems/determinate/%2A' into the Git cache... unpacking 'github:NixOS/nixpkgs/fd487183437963a59ba763c0cc4f27e3447dd6dd' into the Git cache... unpacking 'github:NixOS/nixpkgs/1cd503a0f409a25c34deb6faa7f25fbbb8376d24' into the Git cache... unpacking 'github:NixOS/nixpkgs/3e3afe5174c561dee0df6f2c2b2236990146329f' into the Git cache... unpacking 'github:nix-community/nixvim/88f452558ea37ab8ab2052cf45b5a5653a1e556b' into the Git cache... unpacking 'github:cachix/git-hooks.nix/623c56286de5a3193aa38891a6991b28f9bab056' into the Git cache... unpacking 'github:danth/stylix/e1cfc2b69432ac2abe95db133dcbdfc96cd3bedb' into the Git cache... • Updated input 'darwin': 'github:lnl7/nix-darwin/75b99daa12b1fffd646d6c3cf13b06f1fa5cef63?narHash=sha256-qi6aDGP2W6GyAUNEhg%2BslQWEpUiJ8LNIrQkmxHpzadI%3D' (2025-05-27) → 'github:lnl7/nix-darwin/536f951efb1ccda9b968e3c9dee39fbeb6d3fdeb?narHash=sha256-MEM9XXHgBF/Cyv1RES1t6gqAX7/tvayBC1r/KPyK1ls%3D' (2025-06-12) • Updated input 'determinate': 'https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.6.2/01973348-6edf-7091-8b18-54f942b2bf2f/source.tar.gz?narHash=sha256-xXeDMMKuv8A/wlHgq6%2B4E6fcYJm/Munr764E0wyFEOs%3D' (2025-06-03) → 'https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.6.3/019765b9-9e7b-7b97-8a05-6a0125453c48/source.tar.gz?narHash=sha256-O%2BiNiloXRPBvMLVczEDkcAyBoGdpXS7GCLdjk%2BYUQsE%3D' (2025-06-12) • Updated input 'determinate/determinate-nixd-aarch64-darwin': 'https://install.determinate.systems/determinate-nixd/tag/v3.6.2/macOS?narHash=sha256-qh0zj1z3zc6wd3vuQIZkfisxDIIQE/oC1l3zpEWoWx0%3D' → 'https://install.determinate.systems/determinate-nixd/tag/v3.6.3/macOS?narHash=sha256-rLES3rxsieZQLIsfi3m%2BsAg8NjzGPUhgaCUMC/qqTiM%3D' • Updated input 'determinate/determinate-nixd-aarch64-linux': 'https://install.determinate.systems/determinate-nixd/tag/v3.6.2/aarch64-linux?narHash=sha256-PVdj96Pxn9pDP0WrYVlJWsymCXNDBAjzyk/b0qMtRRs%3D' → 'https://install.determinate.systems/determinate-nixd/tag/v3.6.3/aarch64-linux?narHash=sha256-ZrtA7M2B8XeggCZbJPKPqVpeDTdGXzf1lWJIbur5ezc%3D' • Updated input 'determinate/determinate-nixd-x86_64-linux': 'https://install.determinate.systems/determinate-nixd/tag/v3.6.2/x86_64-linux?narHash=sha256-X3gcLv4dHU3bkDgNN5GaY0sfsWrSqIHoKjVNP8%2BuHHQ%3D' → 'https://install.determinate.systems/determinate-nixd/tag/v3.6.3/x86_64-linux?narHash=sha256-6c6/yay7W2OuNJGNMEalpMIoRKZ3HS%2Bz857L2AeyPKc%3D' • Updated input 'determinate/nix': 'https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.6.2/01973342-bafd-782a-bbcf-6606879c0df6/source.tar.gz?narHash=sha256-A/yjYc%2Bvdkjvw3xI7qgfYRI%2BjzyiW9Ay6JPhGu1gFyo%3D' (2025-06-03) → 'https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.6.3/019765b0-0585-782e-89f6-a8f9f60aa038/source.tar.gz?narHash=sha256-PhTkLR0O0vu0zgRks7e6PJqN0%2Ba9JlLvDScZ3j7sXSI%3D' (2025-06-12) • Updated input 'determinate/nix/flake-parts': 'github:hercules-ci/flake-parts/205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9?narHash=sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c%3D' (2024-12-04) → 'https://api.flakehub.com/f/pinned/hercules-ci/flake-parts/0.1.377%2Brev-49f0870db23e8c1ca0b5259734a02cd9e1e371a1/01972f28-554a-73f8-91f4-d488cc502f08/source.tar.gz?narHash=sha256-F82%2BgS044J1APL0n4hH50GYdPRv/5JWm34oCJYmVKdE%3D' (2025-06-01) • Updated input 'determinate/nix/git-hooks-nix': 'github:cachix/git-hooks.nix/aa9f40c906904ebd83da78e7f328cd8aeaeae785?narHash=sha256-NdaCraHPp8iYMWzdXAt5Nv6sA3MUzlCiGiR586TCwo0%3D' (2024-12-15) → 'https://api.flakehub.com/f/pinned/cachix/git-hooks.nix/0.1.1026%2Brev-80479b6ec16fefd9c1db3ea13aeb038c60530f46/0196d79a-1b35-7b8e-a021-c894fb62163d/source.tar.gz?narHash=sha256-2Y53NGIX2vxfie1rOW0Qb86vjRZ7ngizoo%2BbnXU9D9k%3D' (2025-05-16) • Updated input 'determinate/nix/git-hooks-nix/flake-compat': 'github:edolstra/flake-compat/ff81ac966bb2cae68946d5ed5fc4994f96d0ffec?narHash=sha256-NeCCThCEP3eCl2l/%2B27kNNK7QrwZB1IJCrXfrbv5oqU%3D' (2024-12-04) → 'github:edolstra/flake-compat/0f9255e01c2351cc7d116c072cb317785dd33b33?narHash=sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U%3D' (2023-10-04) • Removed input 'determinate/nix/git-hooks-nix/nixpkgs-stable' • Updated input 'determinate/nix/nixpkgs': 'github:NixOS/nixpkgs/adaa24fbf46737f3f1b5497bf64bae750f82942e?narHash=sha256-qhFMmDkeJX9KJwr5H32f1r7Prs7XbQWtO0h3V0a0rFY%3D' (2025-05-13) → 'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.799423%2Brev-adaa24fbf46737f3f1b5497bf64bae750f82942e/0196d1c3-1974-7bf1-bcf6-06620ac40c8c/source.tar.gz?narHash=sha256-qhFMmDkeJX9KJwr5H32f1r7Prs7XbQWtO0h3V0a0rFY%3D' (2025-05-13) • Updated input 'determinate/nixpkgs': 'https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.806109%2Brev-3108eaa516ae22c2360928589731a4f1581526ef/01971040-062f-7e68-83d1-5cd2af08d87e/source.tar.gz?narHash=sha256-P3u2PXxMlo49PutQLnk2PhI/imC69hFl1yY4aT5Nax8%3D' (2025-05-26) → 'https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.812400%2Brev-08fcb0dcb59df0344652b38ea6326a2d8271baff/01975859-0b3e-7500-9c04-d7870e583452/source.tar.gz?narHash=sha256-HXIQzULIG/MEUW2Q/Ss47oE3QrjxvpUX7gUl4Xp6lnc%3D' (2025-06-08) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/70c74b02eac46f4e4aa071e45a6189ce0f6d9265?narHash=sha256-N5waoqWt8aMr/MykZjSErOokYH6rOsMMXu3UOVH5kiw%3D' (2025-06-06) → 'github:NixOS/nixpkgs/fd487183437963a59ba763c0cc4f27e3447dd6dd?narHash=sha256-mHv/yeUbmL91/TvV95p%2BmBVahm9mdQMJoqaTVTALaFw%3D' (2025-06-12) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/23e2cb6f4c759c498d26f750a56c96b40b70ab63?narHash=sha256-N0JUufjgFSi4XtK5mLQmpgv%2B4I1kXsmQscpbXpfuvf4%3D' (2025-06-09) → 'github:NixOS/nixpkgs/1cd503a0f409a25c34deb6faa7f25fbbb8376d24?narHash=sha256-a5As5xxdMD036Oft5CTvZcQD5WFippnOtqEoXVVD2%2BA%3D' (2025-06-12) • Updated input 'nixvim': 'github:nix-community/nixvim/168a51a36f3a10f0046dcec125ee9b3480dc622b?narHash=sha256-x9YXIwWgxLmqpmKVdA0JojCbL4hNNwxKKFXFuM0Jo54%3D' (2025-06-08) → 'github:nix-community/nixvim/88f452558ea37ab8ab2052cf45b5a5653a1e556b?narHash=sha256-X%2BPDQ9kgt3/nOUQWSyz/8WHFOp%2BSyDND%2BbKpVufxpdE%3D' (2025-06-12) • Updated input 'pre-commit-hooks': 'github:cachix/git-hooks.nix/80479b6ec16fefd9c1db3ea13aeb038c60530f46?narHash=sha256-2Y53NGIX2vxfie1rOW0Qb86vjRZ7ngizoo%2BbnXU9D9k%3D' (2025-05-16) → 'github:cachix/git-hooks.nix/623c56286de5a3193aa38891a6991b28f9bab056?narHash=sha256-WUaIlOlPLyPgz9be7fqWJA5iG6rHcGRtLERSCfUDne4%3D' (2025-06-11) • Updated input 'stylix': 'github:danth/stylix/bf5ab9df57a3d77847289c39c3a537bd6e6ac6f4?narHash=sha256-//wZBnlBJ7Ki5/ZdafiAZwVFZd/2HhKqEbOupo/HcRA%3D' (2025-06-08) → 'github:danth/stylix/e1cfc2b69432ac2abe95db133dcbdfc96cd3bedb?narHash=sha256-xtWRTlYBs%2BwYE8NaV%2BmwdlVYWX0k2BkCuFdjexjEebY%3D' (2025-06-12)
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%