mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 18:53:39 +00:00
266bf47699d6acb124c9c3b49ac5d28d8de77e10
Run `man nix.conf` for more information on the `substituters` configuration option. Run `man nix.conf` for more information on the `substituters` configuration option. 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 'https://flakehub.com/f/DeterminateSystems/fh/%2A' into the Git cache... unpacking 'https://flakehub.com/f/nix-community/home-manager/%2A' into the Git cache... unpacking 'https://flakehub.com/f/NixOS/nixpkgs/%2A' into the Git cache... unpacking 'https://flakehub.com/f/NixOS/nixpkgs/0.1' into the Git cache... unpacking 'github:cachix/git-hooks.nix/80479b6ec16fefd9c1db3ea13aeb038c60530f46' into the Git cache... • Updated input 'darwin': 'github:lnl7/nix-darwin/fc843893cecc1838a59713ee3e50e9e7edc6207c' (2025-03-28) → 'github:lnl7/nix-darwin/fc843893cecc1838a59713ee3e50e9e7edc6207c?narHash=sha256-%2BsMGqywrSr50BGMLMeY789mSrzjkoxZiu61eWjYS/8o%3D' (2025-03-28) • Updated input 'home-manager': 'https://api.flakehub.com/f/pinned/nix-community/home-manager/0.2411.3912%2Brev-b4bbdc6fde16fc2051fcde232f6e288cd22007ca/0196c301-e705-72df-a9b8-e70f16219755/source.tar.gz?narHash=sha256-D/6rkiC6w2p%2B4SwRiVKrWIeYzun8FBg7NlMKMwQMxO0%3D' (2025-05-12) → 'https://api.flakehub.com/f/pinned/nix-community/home-manager/0.2411.3913%2Brev-1eec32f0efe3b830927989767a9e6ece0d82d608/0196d79b-4803-7628-b40e-2a259f055557/source.tar.gz?narHash=sha256-3MmiUN/jOHBHQUnjqzg6qKArc17j2OS6jisEppDY4g8%3D' (2025-05-15) • Updated input 'nixvim': 'github:nix-community/nixvim/5bef8e43ce16ee704c7b9fa9f48a07ce81c5c05d' (2025-04-29) → 'github:nix-community/nixvim/5bef8e43ce16ee704c7b9fa9f48a07ce81c5c05d?narHash=sha256-MpLljx/1dGnBIQlUswaUz/ZeOp44R3ngc1iBf4tyzyc%3D' (2025-04-29) • Updated input 'pre-commit-hooks': 'github:cachix/git-hooks.nix/fa466640195d38ec97cf0493d6d6882bc4d14969' (2025-05-06) → 'github:cachix/git-hooks.nix/80479b6ec16fefd9c1db3ea13aeb038c60530f46?narHash=sha256-2Y53NGIX2vxfie1rOW0Qb86vjRZ7ngizoo%2BbnXU9D9k%3D' (2025-05-16) • Updated input 'stylix': 'github:danth/stylix/20ace60f9cb5e179cb2256abaee505780df8e804' (2025-05-01) → 'github:danth/stylix/20ace60f9cb5e179cb2256abaee505780df8e804?narHash=sha256-O8rZjqJUIkUva66XTOZy0wcgfBP2eaxU9%2BXt7ZHtfhI%3D' (2025-05-01) • Updated input 'vpngate': 'github:davegallant/vpngate/5c069cb289145a38d14e09f03c9674d52a18fecf' (2025-04-07) → 'github:davegallant/vpngate/5c069cb289145a38d14e09f03c9674d52a18fecf?narHash=sha256-PW2W6OjAPwU867e7RVRK/5E44OqEHo6y%2BrSFxEjjA4k%3D' (2025-04-07)
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%