mirror of
https://github.com/davegallant/nix-config
synced 2025-10-03 06:26:00 +00:00
179169beec86d3f21c1ac8fd9aea2ccb310e072c
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 'github:lnl7/nix-darwin/536f951efb1ccda9b968e3c9dee39fbeb6d3fdeb' into the Git cache... unpacking 'https://flakehub.com/f/DeterminateSystems/determinate/%2A' into the Git cache... unpacking 'github:nix-community/home-manager/4a44fb9f7555da362af9d499817084f4288a957f' into the Git cache... unpacking 'github:NixOS/nixpkgs/b1b3291469652d5a2edb0becc4ef0246fff97a7c' into the Git cache... unpacking 'github:NixOS/nixpkgs/13815f7e2ad8cb2fe187941d7609f307a611b5c9' into the Git cache... unpacking 'github:NixOS/nixpkgs/20075955deac2583bb12f07151c2df830ef346b4' into the Git cache... unpacking 'github:nix-community/nixvim/6df0b97b39baa1c0b3002b051f307aed68e17d1b' into the Git cache... unpacking 'github:cachix/git-hooks.nix/e891a93b193fcaf2fc8012d890dc7f0befe86ec2' into the Git cache... unpacking 'github:danth/stylix/79be65b20d7b8fb7e8f39ba8121cfe41b7f46808' into the Git cache... unpacking 'github:davegallant/vpngate/0167804252a2297c1f81b5cbf1fbb772d26d3e1f' into the Git cache... • Updated input 'home-manager': 'github:nix-community/home-manager/4fb695d10890e9fc6a19deadf85ff79ffb78da86?narHash=sha256-CPM7zm6csUx7vSfKvzMDIjepEJv1u/usmaT7zydzbuI%3D' (2025-08-21) → 'github:nix-community/home-manager/4a44fb9f7555da362af9d499817084f4288a957f?narHash=sha256-OILVkfhRCm8u18IZ2DKR8gz8CVZM2ZcJmQBXmjFLIfk%3D' (2025-08-23) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/9cb344e96d5b6918e94e1bca2d9f3ea1e9615545?narHash=sha256-gKlP0LbyJ3qX0KObfIWcp5nbuHSb5EHwIvU6UcNBg2A%3D' (2025-08-20) → 'github:NixOS/nixpkgs/b1b3291469652d5a2edb0becc4ef0246fff97a7c?narHash=sha256-wY1%2B2JPH0ZZC4BQefoZw/k%2B3%2BDowFyfOxv17CN/idKs%3D' (2025-08-23) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/c84fc636751ab5c74ba35bd1fc0bf5bf074ddec2?narHash=sha256-DgZSmZbVb1R4IP6oUabXmYRi3qK%2BwP/QiaBoLEpdHx8%3D' (2025-08-23) → 'github:NixOS/nixpkgs/13815f7e2ad8cb2fe187941d7609f307a611b5c9?narHash=sha256-qiUe687U3cg79BOOzTVDdHqUNccOlsPimVAwz3xeGlA%3D' (2025-08-25) • Updated input 'pre-commit-hooks': 'github:cachix/git-hooks.nix/3ff4596663c8cbbffe06d863ee4c950bce2c3b78?narHash=sha256-2KZl6cU5rzEwXKMW369kLTzinJXXkF3TRExA6qEeVbc%3D' (2025-08-22) → 'github:cachix/git-hooks.nix/e891a93b193fcaf2fc8012d890dc7f0befe86ec2?narHash=sha256-RF7j6C1TmSTK9tYWO6CdEMtg6XZaUKcvZwOCD2SICZs%3D' (2025-08-23)
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%