mirror of
https://github.com/davegallant/nix-config
synced 2025-08-12 08:52:27 +00:00
176522cb7fd6be255fbdd62a491fc4dbcdce32e7
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': 'github:NixOS/nixpkgs/fc756aa6f5d3e2e5666efcf865d190701fef150a?narHash=sha256-eogqv6FqZXHgqrbZzHnq43GalnRbLTkbBbFtEfm1RSc%3D' (2025-08-08) → 'github:NixOS/nixpkgs/c5f08b62ed75415439d48152c2a784e36909b1bc?narHash=sha256-8OnUzRQZkqtUol9vuUuQC30hzpMreKptNyET2T9lB6g%3D' (2025-08-09) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/b29d970aa1216b84d794d41c734e33646e074c08?narHash=sha256-7Oicb60A4oNTvfz2mLeR2k%2B5/jgS/xDmL%2BNi2td1peQ%3D' (2025-08-10) → 'github:NixOS/nixpkgs/de0c5475c4299ab3f15456fcbe232ebf11565ccd?narHash=sha256-vyyKZ9/iaVldKKR%2BYlg8draCirwMydUz6KXA3eX/MEY%3D' (2025-08-12) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/c2ae88e026f9525daf89587f3cbee584b92b6134?narHash=sha256-erbiH2agUTD0Z30xcVSFcDHzkRvkRXOQ3lb887bcVrs%3D' (2025-08-06) → 'github:NixOS/nixpkgs/85dbfc7aaf52ecb755f87e577ddbe6dbbdbc1054?narHash=sha256-iAcj9T/Y%2B3DBy2J0N%2ByF9XQQQ8IEb5swLFzs23CdP88%3D' (2025-08-09) • Updated input 'stylix': 'github:danth/stylix/312dec38b2231b21f36903d1bdce96daa11548ff?narHash=sha256-AzAYdZlat002vCjCKWdFpGi2xUaiOU4DtIPnv1nomD8%3D' (2025-08-07) → 'github:danth/stylix/61ffae2453d00cb63a133b750232804b209db4d1?narHash=sha256-M%2BCDFvZ4ZuKK3mlbxv%2B37yAwL6X3tIklYgurqbhO7Q4%3D' (2025-08-10)
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%