mirror of
https://github.com/davegallant/nix-config
synced 2025-10-03 06:26:00 +00:00
74ca0e7f3138905a1193e65104e16d67c4bb18b7
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:NixOS/nixpkgs/ad7196ae55c295f53a7d1ec39e4a06d922f3b899' into the Git cache... unpacking 'github:NixOS/nixpkgs/25563081d1d75a9866a169c65bb5b40bcefee69d' into the Git cache... unpacking 'github:NixOS/nixpkgs/fbcf476f790d8a217c3eab4e12033dc4a0f6d23c' into the Git cache... • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/3385ca0cd7e14c1a1eb80401fe011705ff012323?narHash=sha256-Hu/gTDoi4uy6TAKISPHQusSMy8U6xUbLSDjKBYdhDIY%3D' (2025-08-13) → 'github:NixOS/nixpkgs/ad7196ae55c295f53a7d1ec39e4a06d922f3b899?narHash=sha256-rTInmnp/xYrfcMZyFMH3kc8oko5zYfxsowaLv1LVobY%3D' (2025-08-15) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/8cb57bf0c317cb6856e685f0cb94b9a8264aaffb?narHash=sha256-s7MdlbqMQ/SOGfThmTNVaeWSX1%2BYDh8Rylk/1s5ph3E%3D' (2025-08-15) → 'github:NixOS/nixpkgs/25563081d1d75a9866a169c65bb5b40bcefee69d?narHash=sha256-%2BSPlLC/V/NEgIOL0XXgs01wfWp7QyEFSuaJvRpdavkc%3D' (2025-08-17) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/005433b926e16227259a1843015b5b2b7f7d1fc3?narHash=sha256-IVft239Bc8p8Dtvf7UAACMG5P3ZV%2B3/aO28gXpGtMXI%3D' (2025-08-12) → 'github:NixOS/nixpkgs/fbcf476f790d8a217c3eab4e12033dc4a0f6d23c?narHash=sha256-wNO3%2BKs2jZJ4nTHMuks%2BcxAiVBGNuEBXsT29Bz6HASo%3D' (2025-08-14)
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.7%
Shell
1.8%
Just
1.5%