mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 23:03:40 +00:00
86605bb1e8aa2266d5289ba693599123ea310954
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:nix-community/home-manager/c6a01e54af81b381695db796a43360bf6db5702f' into the Git cache... unpacking 'github:NixOS/nixpkgs/87f9b0ebacf7331301f40d71c0b3829975aaf084' into the Git cache... unpacking 'github:danth/stylix/4d5e38f041f70725b1ef47b704f7a1944783001f' into the Git cache... • Updated input 'home-manager': 'github:nix-community/home-manager/524da5f6c0bf11bb0d5590046276423a28b9453e?narHash=sha256-g/f7sW8EH5qRRJF95%2BhwWj%2BAzOMlw4zs04Ei5DWSRlU%3D' (2025-07-10) → 'github:nix-community/home-manager/c6a01e54af81b381695db796a43360bf6db5702f?narHash=sha256-aRY1cYOdVdXdNjcL/Twpa27CknO7pVHxooPsBizDraE%3D' (2025-07-11) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/6ab102c75cad17edae2171feac63b8bf8a825a15?narHash=sha256-3crK%2BT6xsxYTKc0Nd3S29SNmI8KECqmKlv9H%2BmP58AA%3D' (2025-07-11) → 'github:NixOS/nixpkgs/87f9b0ebacf7331301f40d71c0b3829975aaf084?narHash=sha256-VCijcwJ%2BeipMsMAtgMDC1HHnsCjkI1Ik3KLzSMQpwkw%3D' (2025-07-11) • Updated input 'stylix': 'github:danth/stylix/519c619002ddf9870878b656459e04c775ea851b?narHash=sha256-a75a/8z7SZcnxMI6lbIAlgezHLXKvna9fxOl3QDylXU%3D' (2025-07-11) → 'github:danth/stylix/4d5e38f041f70725b1ef47b704f7a1944783001f?narHash=sha256-QnhCeqR9DTYWu5ZN%2BWfVJcfDy8efeVODjUreRldj4oU%3D' (2025-07-11)
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%