mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 18:53:39 +00:00
066282d7e72e2044ca0f923dbfef76c02ea070c5
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 'determinate': 'https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.4.2/0196a0e3-6a5e-7bd9-bcc9-35993b5669ae/source.tar.gz?narHash=sha256-JVaI7oo2dNWCNwkuSvS9NpQf%2BXJbYyPOBsCmOB4e/zU%3D' (2025-05-05) → 'https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.5.1/0196b732-ef8e-73a0-81fe-27d2da75d01e/source.tar.gz?narHash=sha256-zuOGALFvYLADrtet%2BxLXaWFXx1ie0e%2BEpBOYbZhTh1g%3D' (2025-05-09) • Updated input 'determinate/determinate-nixd-aarch64-darwin': 'https://install.determinate.systems/determinate-nixd/tag/v3.4.2/macOS?narHash=sha256-ARTXW8DF2CJG5E2nRNH8JWDEvLzyaZxw5rE23DECicI%3D' → 'https://install.determinate.systems/determinate-nixd/tag/v3.5.1/macOS?narHash=sha256-mPEUeDO9jHMAlGVnGnFlyZrhy0rou5T3UaGUgxAqCOo%3D' • Updated input 'determinate/determinate-nixd-aarch64-linux': 'https://install.determinate.systems/determinate-nixd/tag/v3.4.2/aarch64-linux?narHash=sha256-DSOuHFdwdND1n0BHuAGsllqxSkP/4Hwubo54ETT3RJk%3D' → 'https://install.determinate.systems/determinate-nixd/tag/v3.5.1/aarch64-linux?narHash=sha256-zka0Eftt2szsgqkRv1d8bT40YZbul02ETK%2BH4FGVxW0%3D' • Updated input 'determinate/determinate-nixd-x86_64-linux': 'https://install.determinate.systems/determinate-nixd/tag/v3.4.2/x86_64-linux?narHash=sha256-5k4qO7a1u8mMDhnNyp9dKtQmPcfkvvSGhQ1LVfJ1NiU%3D' → 'https://install.determinate.systems/determinate-nixd/tag/v3.5.1/x86_64-linux?narHash=sha256-H3WfR2faBWOgWxtzbgHd7n1or9mMnbCCxLSVODlVTmA%3D' • Updated input 'determinate/nix': 'https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.4.2/0196a0dd-9938-7170-a73d-b253c8e83470/source.tar.gz?narHash=sha256-mB2GopjoufH5cNN3w3Q6pjKxIUo4R6XRfun8f6zieaA%3D' (2025-05-05) → 'https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.5.1/0196b724-e2e2-77d2-8978-30dfd591e94c/source.tar.gz?narHash=sha256-jcMFEwU%2BPqdHi2p8DkaZsCJ1TuvtAFJZijWtNedWZ7Q%3D' (2025-05-09) • Removed input 'determinate/nix/flake-compat' • Updated input 'determinate/nix/git-hooks-nix/flake-compat': follows 'determinate/nix' → 'github:edolstra/flake-compat/ff81ac966bb2cae68946d5ed5fc4994f96d0ffec?narHash=sha256-NeCCThCEP3eCl2l/%2B27kNNK7QrwZB1IJCrXfrbv5oqU%3D' (2024-12-04) • Updated input 'determinate/nixpkgs': 'https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.791229%2Brev-29335f23bea5e34228349ea739f31ee79e267b88/0196800d-1283-7c9b-8b80-c39f81a76284/source.tar.gz?narHash=sha256-v/sK3AS0QKu/Tu5sHIfddiEHCvrbNYPv8X10Fpux68g%3D' (2025-04-28) → '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)
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%