mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 10:33:39 +00:00
81e673025a9af7acebac6681de029cabe9759497
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/f64072cc7ad8341df63a6f2f095c961a7050dbc0' into the Git cache... unpacking 'github:NixOS/nixpkgs/ee930f9755f58096ac6e8ca94a1887e0534e2d81' into the Git cache... unpacking 'github:danth/stylix/67c8eca32f1baf158ffb9a56f28a2fc8e9852fb0' into the Git cache... • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/1cd503a0f409a25c34deb6faa7f25fbbb8376d24?narHash=sha256-a5As5xxdMD036Oft5CTvZcQD5WFippnOtqEoXVVD2%2BA%3D' (2025-06-12) → 'github:NixOS/nixpkgs/f64072cc7ad8341df63a6f2f095c961a7050dbc0?narHash=sha256-J5jpZDw7pQHnEBLIP58q7BuXd1yHlDbOtq%2Bc9R5Nf4Y%3D' (2025-06-14) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/3e3afe5174c561dee0df6f2c2b2236990146329f?narHash=sha256-frdhQvPbmDYaScPFiCnfdh3B/Vh81Uuoo0w5TkWmmjU%3D' (2025-06-07) → 'github:NixOS/nixpkgs/ee930f9755f58096ac6e8ca94a1887e0534e2d81?narHash=sha256-Kh9K4taXbVuaLC0IL%2B9HcfvxsSUx8dPB5s5weJcc9pc%3D' (2025-06-13) • Updated input 'stylix': 'github:danth/stylix/e1cfc2b69432ac2abe95db133dcbdfc96cd3bedb?narHash=sha256-xtWRTlYBs%2BwYE8NaV%2BmwdlVYWX0k2BkCuFdjexjEebY%3D' (2025-06-12) → 'github:danth/stylix/67c8eca32f1baf158ffb9a56f28a2fc8e9852fb0?narHash=sha256-0nf9P4kRAzsBvf5jbY7M3NlnGSwBzU50kJAYGZH5Ez4%3D' (2025-06-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.6%
Shell
1.9%
Just
1.5%