mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 18:53:39 +00:00
d8a924f6f27866bfc3ee8b24ce2b77e6b37921d9
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/f01fe91b0108a7aff99c99f2e9abbc45db0adc2a' into the Git cache... unpacking 'github:NixOS/nixpkgs/d4cea1db3b378048632710331d0090e85d064a80' into the Git cache... unpacking 'github:NixOS/nixpkgs/c87b95e25065c028d31a94f06a62927d18763fdf' into the Git cache... unpacking 'github:danth/stylix/038afaca5520fe7e7bb75a44d7d0c55b0b789afe' into the Git cache... • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/32a4e87942101f1c9f9865e04dc3ddb175f5f32e?narHash=sha256-f3pO%2B9lg66mV7IMmmIqG4PL3223TYMlnlw%2Bpnpelbss%3D' (2025-07-15) → 'github:NixOS/nixpkgs/f01fe91b0108a7aff99c99f2e9abbc45db0adc2a?narHash=sha256-NV4S2Lf2hYmZQ3Qf4t/YyyBaJNuxLPyjzvDma0zPp/M%3D' (2025-07-18) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/d3cd84d832a167312a984f0980e9471fc0a6e170?narHash=sha256-swCccOd3dJc9iavRH%2BT/bKxCG2xSocpKyI7%2BCMzrmYI%3D' (2025-07-19) → 'github:NixOS/nixpkgs/d4cea1db3b378048632710331d0090e85d064a80?narHash=sha256-mUm6qHHFG1l3ArPcPQgBJjuZgi%2Bn7hV%2BknTx33yJdrg%3D' (2025-07-20) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/6e987485eb2c77e5dcc5af4e3c70843711ef9251?narHash=sha256-RKwfXA4OZROjBTQAl9WOZQFm7L8Bo93FQwSJpAiSRvo%3D' (2025-07-16) → 'github:NixOS/nixpkgs/c87b95e25065c028d31a94f06a62927d18763fdf?narHash=sha256-NS6BLD0lxOrnCiEOcvQCDVPXafX1/ek1dfJHX1nUIzc%3D' (2025-07-19) • Updated input 'stylix': 'github:danth/stylix/40f40bda4269f6e5490c25975069dc61aede6d52?narHash=sha256-qSQ6oIJeIb5MX6LRszgqQYB46FOHemKrvrdzf2u%2BuxM%3D' (2025-07-17) → 'github:danth/stylix/038afaca5520fe7e7bb75a44d7d0c55b0b789afe?narHash=sha256-CysacPUVbpw%2BozuZm5eC6W1DFBYuy4fT%2BlfmA23sfAw%3D' (2025-07-20)
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%