mirror of
https://github.com/davegallant/nix-config
synced 2026-01-08 15:34:05 +00:00
6995d9426b36a32e3e13a808b683ca9d84961e49
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... • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/312a22c734c18ba4575a5bf5ff7a694f6eaaac2a?narHash=sha256-GgKFqLCo51RigP4lvI6/WEex59OTGHhKGg/qLOxPU6I%3D' (2025-10-31) → 'github:NixOS/nixpkgs/dddba88583dce558205300c3f5b75ed0c14dbdf7?narHash=sha256-eOetnCjfZVigsL5TO8GZML%2BFuziFBMrDzQAAD6PE3wk%3D' (2025-11-01) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/08dacfca559e1d7da38f3cf05f1f45ee9bfd213c?narHash=sha256-o9KF3DJL7g7iYMZq9SWgfS1BFlNbsm6xplRjVlOCkXI%3D' (2025-10-28) → 'github:NixOS/nixpkgs/2fb006b87f04c4d3bdf08cfdbc7fab9c13d94a15?narHash=sha256-kJ8lIZsiPOmbkJypG%2BB5sReDXSD1KGu2VEPNqhRa/ew%3D' (2025-10-31)
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.1%
Shell
2.3%
Just
1.6%