mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 18:53:39 +00:00
e68558a91e7191d120973d9c7cd2d8df939a88e9
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/nix-community/home-manager/0.2411.3913' into the Git cache... unpacking 'https://flakehub.com/f/NixOS/nixpkgs/%2A' into the Git cache... unpacking 'github:NixOs/nixpkgs/ade73289c81c6b0e9111c81a05a9068fe6354a04' into the Git cache... unpacking 'https://flakehub.com/f/NixOS/nixpkgs/0.1' into the Git cache... • Updated input 'determinate': 'https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.5.2/0196c70c-0872-7fad-a111-600ae8db1231/source.tar.gz?narHash=sha256-%2BihbNcxH05qT8U16ERLXSCuBpZzTDQZy5g7HbixQEzs%3D' (2025-05-13) → 'https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.6.0/0196faa6-d623-7e23-9152-44cb1b5a53f2/source.tar.gz?narHash=sha256-9XZmFhSzZnxw0ZCn90kVP5%2BYUmTppzu%2BdUFBSUwz8Gc%3D' (2025-05-23) • Updated input 'determinate/determinate-nixd-aarch64-darwin': 'https://install.determinate.systems/determinate-nixd/tag/v3.5.2/macOS?narHash=sha256-2dq185sZoe03EkGykH7Q64wjdkqZDCGvDO3pwx1bBgk%3D' → 'https://install.determinate.systems/determinate-nixd/tag/v3.6.0/macOS?narHash=sha256-0eo5RlKi/HwwSa8pYm%2BmTA5lGpvuaxMMW1wSRmpTHpk%3D' • Updated input 'determinate/determinate-nixd-aarch64-linux': 'https://install.determinate.systems/determinate-nixd/tag/v3.5.2/aarch64-linux?narHash=sha256-Ua0UKFFBXhUsIZWXdQRRr2rv4LfXdX7xHrsyMdKYEO8%3D' → 'https://install.determinate.systems/determinate-nixd/tag/v3.6.0/aarch64-linux?narHash=sha256-d44VyeBgSrIjdzeNj6KuRbDYlwwcyq%2B6/uYtfTlTgWc%3D' • Updated input 'determinate/determinate-nixd-x86_64-linux': 'https://install.determinate.systems/determinate-nixd/tag/v3.5.2/x86_64-linux?narHash=sha256-ogANyvmbyYZ9WDyAbNfetnpJd%2BYH9YzjUjok9Ad4fBs%3D' → 'https://install.determinate.systems/determinate-nixd/tag/v3.6.0/x86_64-linux?narHash=sha256-vuBRBrTJzgLDovVoCYZWLIN1vfAe8szIgzSuVd/vCZ8%3D' • Updated input 'determinate/nix': 'https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.5.2/0196c703-20f7-7d7e-8121-ec4f1cc20e01/source.tar.gz?narHash=sha256-4QVmtRMUzw0GMyJmU93IlorvuZaUjyZUL7LYFSE1LCg%3D' (2025-05-12) → 'https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.6.0/0196fa94-7951-7f95-bb79-70f1d5283705/source.tar.gz?narHash=sha256-FDfLkkCNAoLLYV0h8hm279g6c2rM%2BVoBQ7mRX80x8V0%3D' (2025-05-22) • Updated input 'determinate/nix/nixpkgs': 'github:NixOS/nixpkgs/48d12d5e70ee91fe8481378e540433a7303dbf6a?narHash=sha256-1Noao/H%2BN8nFB4Beoy8fgwrcOQLVm9o4zKW1ODaqK9E%3D' (2024-12-16) → 'github:NixOS/nixpkgs/adaa24fbf46737f3f1b5497bf64bae750f82942e?narHash=sha256-qhFMmDkeJX9KJwr5H32f1r7Prs7XbQWtO0h3V0a0rFY%3D' (2025-05-13) • Updated input 'determinate/nixpkgs': 'https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.794180%2Brev-ed30f8aba41605e3ab46421e3dcb4510ec560ff8/0196a419-b9aa-7879-8a59-10b4ce7de30c/source.tar.gz?narHash=sha256-5oLdRa3vWSRbuqPIFFmQBGGUqaYZBxX%2BGGtN9f/n4lU%3D' (2025-05-04) → 'https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.802343%2Brev-8406224e30c258025cb8b31704bdb977a8f1f009/0196ec33-1ffa-76fa-ad14-ac737caf6446/source.tar.gz?narHash=sha256-%2B8goyptSXa7qV0k5uPKyky58jpBjI/qkzsbwCZFvhRY%3D' (2025-05-18) • Updated input 'nixpkgs': 'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2411.718112%2Brev-72841a4a8761d1aed92ef6169a636872c986c76d/0196eed4-afc5-7adf-84bd-d3331f09ffe7/source.tar.gz?narHash=sha256-LXkWBVqilgx7Pohwqu/ABxDVw%2BCmi5/Mj2S2mpUH0Fw%3D' (2025-05-19) → 'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2411.718140%2Brev-2baa12ff69913392faf0ace833bc54bba297ea95/0196fb8c-8d4d-7980-9628-a15a5cb48338/source.tar.gz?narHash=sha256-U4HaNZ1W26cbOVm0Eb5OdGSnfQVWQKbLSPrSSa78KC0%3D' (2025-05-21) • Updated input 'nixpkgs-master': 'github:NixOs/nixpkgs/85c96a8e9054c4c13b1048d3accda61bbec37ee6?narHash=sha256-NqFqHPGiXydadfhwvFofytQxXu6Osppa1HXS9PtsS0A%3D' (2025-05-21) → 'github:NixOs/nixpkgs/ade73289c81c6b0e9111c81a05a9068fe6354a04?narHash=sha256-AlmOVBYPqTU/hFfNV44U4iWYenqrJgmi4slKo9/7oRk%3D' (2025-05-23)
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%