mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 03:13:38 +00:00
fcaeb714aac9ea371ebdc3de9616a759387ef0d0
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 'home-manager': 'https://api.flakehub.com/f/pinned/nix-community/home-manager/0.2411.3888%2Brev-b4e98224ad1336751a2ac7493967a4c9f6d9cb3f/0196167b-43e4-796e-a916-019591ae7462/source.tar.gz?narHash=sha256-t7dFCDl4vIOOUMhEZnJF15aAzkpaup9x4ZRGToDFYWI%3D' (2025-04-08) → 'https://api.flakehub.com/f/pinned/nix-community/home-manager/0.2411.3889%2Brev-c61bfe3ae692f42ce688b5865fac9e0de58e1387/01963d1b-f729-7a21-8ddc-9e1fe86c76fc/source.tar.gz?narHash=sha256-iyn/WBYDc7OtjSawbegINDe/gIkok888kQxk3aVnkgg%3D' (2025-04-15) • Updated input 'nixpkgs-unstable': 'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.782401%2Brev-2631b0b7abcea6e640ce31cd78ea58910d31e650/01962c8a-63c4-7abd-a3df-63a17b548cc7/source.tar.gz?narHash=sha256-LWqduOgLHCFxiTNYi3Uj5Lgz0SR%2BXhw3kr/3Xd0GPTM%3D' (2025-04-12) → '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)
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%