mirror of
https://github.com/davegallant/nix-config
synced 2025-10-03 06:26:00 +00:00
f33734e987d05d703ffcbe2c5a0316d35aa1b1ea
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 'github:nix-community/home-manager/4fb695d10890e9fc6a19deadf85ff79ffb78da86' into the Git cache... unpacking 'github:NixOS/nixpkgs/9cb344e96d5b6918e94e1bca2d9f3ea1e9615545' into the Git cache... unpacking 'github:NixOS/nixpkgs/c84fc636751ab5c74ba35bd1fc0bf5bf074ddec2' into the Git cache... Run `man nix.conf` for more information on the `substituters` configuration option. unpacking 'github:nix-community/nixvim/6df0b97b39baa1c0b3002b051f307aed68e17d1b' into the Git cache... unpacking 'github:cachix/git-hooks.nix/3ff4596663c8cbbffe06d863ee4c950bce2c3b78' into the Git cache... unpacking 'github:danth/stylix/79be65b20d7b8fb7e8f39ba8121cfe41b7f46808' into the Git cache... Run `man nix.conf` for more information on the `substituters` configuration option. • Updated input 'determinate': 'https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.8.5/01987740-2f8d-724e-be76-f9fdc4169391/source.tar.gz?narHash=sha256-IxwxFY1vD3K1lNi7zKb3O31K/gjB0QRs5G%2B66R5uKXc%3D' (2025-08-04) → 'https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.8.6/0198c8e2-c539-7713-a109-3ff0e73574dd/source.tar.gz?narHash=sha256-QNc4TY7l/NIkPpuFSXGAUnAFpsz4GiYAwGFyYXEJ9lc%3D' (2025-08-20) • Updated input 'determinate/determinate-nixd-aarch64-darwin': 'https://install.determinate.systems/determinate-nixd/tag/v3.8.5/macOS?narHash=sha256-qZLIbSP6ic9/ozzFP0QqSk5CcQdbQ4iJHuCd03wV4i8%3D' → 'https://install.determinate.systems/determinate-nixd/tag/v3.8.6/macOS?narHash=sha256-TXc1t7wbUtzwyytrZMR9SoTsUdoXatDf45aoNndaonY%3D' • Updated input 'determinate/determinate-nixd-aarch64-linux': 'https://install.determinate.systems/determinate-nixd/tag/v3.8.5/aarch64-linux?narHash=sha256-QK06CsX8jhocJlUmv%2BLGJL%2B67OqkaFutt4kyU9VYshE%3D' → 'https://install.determinate.systems/determinate-nixd/tag/v3.8.6/aarch64-linux?narHash=sha256-MaD8woffmbfytD/1Ism5xLhonTlCzXyTU6TmVpin2vU%3D' • Updated input 'determinate/determinate-nixd-x86_64-linux': 'https://install.determinate.systems/determinate-nixd/tag/v3.8.5/x86_64-linux?narHash=sha256-WewOOmK0rZ7yDBaA1xie1wHYTMkB96scY4Fjt6MPxfQ%3D' → 'https://install.determinate.systems/determinate-nixd/tag/v3.8.6/x86_64-linux?narHash=sha256-cAXTuExL/7cmdzXM0vJLuHvExpjmv39%2BvWwgJyKbZnA%3D' • Updated input 'determinate/nix': 'https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.8.5/0198772e-696e-72c6-9382-7ad2a9198f03/source.tar.gz?narHash=sha256-xVsqhMfsQzjf4XDO/GHVyk/D760uqlnOQ1NZ8Iyvpr0%3D' (2025-08-04) → 'https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.8.6/0198c717-3128-706c-95f8-49294f65c4b7/source.tar.gz?narHash=sha256-aHMByu8/6cJsUYffUgM4DnZRiLfBpQM0C9Wa3dCJ87o%3D' (2025-08-20) • Updated input 'determinate/nixpkgs': 'https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.836323%2Brev-648f70160c03151bc2121d179291337ad6bc564b/019854b4-edf3-7ab3-ba79-b30d6017d043/source.tar.gz?narHash=sha256-FK8iq76wlacriq3u0kFCehsRYTAqjA9nfprpiSWRWIc%3D' (2025-07-28) → 'https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.844992%2Brev-32f313e49e42f715491e1ea7b306a87c16fe0388/0198c0d5-28e5-7154-af57-79569c924644/source.tar.gz?narHash=sha256-nNaeJjo861wFR0tjHDyCnHs1rbRtrMgxAKMoig9Sj/w%3D' (2025-08-15) • Updated input 'home-manager': 'github:nix-community/home-manager/fc3add429f21450359369af74c2375cb34a2d204?narHash=sha256-oV695RvbAE4%2BR9pcsT9shmp6zE/%2BIZe6evHWX63f2Qg%3D' (2025-07-27) → 'github:nix-community/home-manager/4fb695d10890e9fc6a19deadf85ff79ffb78da86?narHash=sha256-CPM7zm6csUx7vSfKvzMDIjepEJv1u/usmaT7zydzbuI%3D' (2025-08-21) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/a58390ab6f1aa810eb8e0f0fc74230e7cc06de03?narHash=sha256-BA9MuPjBDx/WnpTJ0EGhStyfE7hug8g85Y3Ju9oTsM4%3D' (2025-08-19) → 'github:NixOS/nixpkgs/9cb344e96d5b6918e94e1bca2d9f3ea1e9615545?narHash=sha256-gKlP0LbyJ3qX0KObfIWcp5nbuHSb5EHwIvU6UcNBg2A%3D' (2025-08-20) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/5f070fb987ab29d06a66626d765f6c900e9eb106?narHash=sha256-sSu4S1PJbtRhCcD0Twvu2gvAewNTEQo6LDZSaZ3hwG4%3D' (2025-08-20) → 'github:NixOS/nixpkgs/c84fc636751ab5c74ba35bd1fc0bf5bf074ddec2?narHash=sha256-DgZSmZbVb1R4IP6oUabXmYRi3qK%2BwP/QiaBoLEpdHx8%3D' (2025-08-23) • Updated input 'nixvim': 'github:nix-community/nixvim/ab1b5962e1ca90b42de47e1172e0d24ca80e6256?narHash=sha256-Yz5dJ0VzGRzSRHdHldsWQbuFYmtP3NWNreCvPfCi9CI%3D' (2025-08-03) → 'github:nix-community/nixvim/6df0b97b39baa1c0b3002b051f307aed68e17d1b?narHash=sha256-eb9N7XFj1zirk%2BD2KV%2Brn/CjmVHDISlxhtZCWZEVpkM%3D' (2025-08-20) • Updated input 'pre-commit-hooks': 'github:cachix/git-hooks.nix/4b04db83821b819bbbe32ed0a025b31e7971f22e?narHash=sha256-I0Ok1OGDwc1jPd8cs2VvAYZsHriUVFGIUqW%2B7uSsOUM%3D' (2025-08-17) → 'github:cachix/git-hooks.nix/3ff4596663c8cbbffe06d863ee4c950bce2c3b78?narHash=sha256-2KZl6cU5rzEwXKMW369kLTzinJXXkF3TRExA6qEeVbc%3D' (2025-08-22) • Updated input 'stylix': 'github:danth/stylix/5e01d0411929ea7900fcb92d1a1c3cc44f78152e?narHash=sha256-goHx%2BESkCXfo80GwOhjO8n5gPEUrnC5ZMUuwPPdXifE%3D' (2025-08-19) → 'github:danth/stylix/79be65b20d7b8fb7e8f39ba8121cfe41b7f46808?narHash=sha256-VmheUy4UzWDy/u0TvCCHptgF30peL7wRxkHy7EVpDrQ%3D' (2025-08-20)
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%