mirror of
https://github.com/davegallant/nix-config
synced 2025-10-03 06:26:00 +00:00
058c5d97088ba21fe3862aef7dca8455e3856b8a
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/07fc025fe10487dd80f2ec694f1cd790e752d0e8' into the Git cache... unpacking 'github:NixOS/nixpkgs/b4c2c57c31e68544982226d07e4719a2d86302a8' into the Git cache... unpacking 'github:NixOS/nixpkgs/baee34e6a4d1e10fde6754d999d072c2a55d2b6c' into the Git cache... • Updated input 'home-manager': 'github:nix-community/home-manager/54b2879ce622d44415e727905925e21b8f833a98?narHash=sha256-aAZNbGcWrVRZgWgkQbkabSGcDVRDMgON4BipMy69gvI%3D' (2025-08-26) → 'github:nix-community/home-manager/07fc025fe10487dd80f2ec694f1cd790e752d0e8?narHash=sha256-Xd1vOeY9ccDf5VtVK12yM0FS6qqvfUop8UQlxEB%2BgTQ%3D' (2025-08-31) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/41d292bfc37309790f70f4c120b79280ce40af16?narHash=sha256-YvtD2E7MYsQ3r7K9K2G7nCslCKMPShoSEAtbjHLtH0k%3D' (2025-08-29) → 'github:NixOS/nixpkgs/b4c2c57c31e68544982226d07e4719a2d86302a8?narHash=sha256-aGnd4AHIYCWQKChAkHPpX%2BYYCt7pA6y2LFFA/s8q0wQ%3D' (2025-08-31) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/c3713cbb4e78536db219301b46c2581b451c0061?narHash=sha256-q6P3RVr0jlDsBNUw4VPj0NR8Y8dWeuKOzWgAGc5J9aA%3D' (2025-08-30) → 'github:NixOS/nixpkgs/baee34e6a4d1e10fde6754d999d072c2a55d2b6c?narHash=sha256-k6C4n4WZFYrRDW69QDjlHJ/piQWl0PEqKgSh9WmsvLI%3D' (2025-09-01)
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%