mirror of
https://github.com/davegallant/nix-config
synced 2025-10-03 06:26:00 +00:00
7a869f13fd96ad2b6e56bf9dab446d149b2cb39f
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/f792d8aadbe1bc844709429e0bf70e3295010bc1' into the Git cache... unpacking 'github:NixOS/nixpkgs/0147c2f1d54b30b5dd6d4a8c8542e8d7edf93b5d' into the Git cache... • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/e8a069ed084fc336f1c27d620057a7108be3ec48?narHash=sha256-QUBBpksq1aLXWzhXVL6QYUAGfu59uuq%2Bjh2h54uoQa8%3D' (2025-09-18) → 'github:NixOS/nixpkgs/f792d8aadbe1bc844709429e0bf70e3295010bc1?narHash=sha256-vq7RQssYnLOx7P4g1vmBVqKZWpcgJ0Wcow1LUCMTOO0%3D' (2025-09-19) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/c23193b943c6c689d70ee98ce3128239ed9e32d1?narHash=sha256-hLEO2TPj55KcUFUU1vgtHE9UEIOjRcH/4QbmfHNF820%3D' (2025-09-13) → 'github:NixOS/nixpkgs/0147c2f1d54b30b5dd6d4a8c8542e8d7edf93b5d?narHash=sha256-7To75JlpekfUmdkUZewnT6MoBANS0XVypW6kjUOXQwc%3D' (2025-09-18)
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%