mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 18:53:39 +00:00
f9864470dcdcfc56157daa8af7acde03f9186311
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/afe9ce8b2014fa1230ade38bf07156cdcef63658' into the Git cache... unpacking 'github:NixOS/nixpkgs/ce490d7b984988f8689470d8608b6253860f990a' into the Git cache... unpacking 'github:NixOS/nixpkgs/96ec055edbe5ee227f28cdbc3f1ddf1df5965102' into the Git cache... • Updated input 'home-manager': 'github:nix-community/home-manager/0d13ea58d565d3c1c1468ddae1f623316dc395d9?narHash=sha256-e9zc/rHdoH9i%2BsFFhhQiKoF6IuD%2BT2rB/nUyPaO7CCg%3D' (2025-05-29) → 'github:nix-community/home-manager/afe9ce8b2014fa1230ade38bf07156cdcef63658?narHash=sha256-1hFy%2BbZRZoYb7RaUXsW%2B9YFtjjFrQpschd8qZpy9org%3D' (2025-05-30) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/8ca7ec685bbee55d6dcb326abe23945c0806c39e?narHash=sha256-XbIdzeWUL6Htz3/EbeyY71qMxYizMUWYltWYGg6qfcI%3D' (2025-05-30) → 'github:NixOS/nixpkgs/ce490d7b984988f8689470d8608b6253860f990a?narHash=sha256-MlwN0xoon4RB/nkQyTrG6ceiwn%2BAsMEMt3F4W3UN3Zc%3D' (2025-05-31) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/4faa5f5321320e49a78ae7848582f684d64783e9?narHash=sha256-QlL8slIgc16W5UaI3w7xHQEP%2BQmv/6vSNTpoZrrSlbk%3D' (2025-05-27) → 'github:NixOS/nixpkgs/96ec055edbe5ee227f28cdbc3f1ddf1df5965102?narHash=sha256-7doLyJBzCllvqX4gszYtmZUToxKvMUrg45EUWaUYmBg%3D' (2025-05-28)
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%