mirror of
https://github.com/davegallant/nix-config
synced 2026-03-03 12:46:34 +00:00
a753e9c72aa011708b1e75fd3dc99ccb5677f479
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/d76299b2cd01837c4c271a7b5186e3d5d8ebd126' into the Git cache... unpacking 'https://flakehub.com/f/DeterminateSystems/determinate/%2A' into the Git cache... unpacking 'github:nix-community/home-manager/f3902b5d8767985680875ad86d028371100faeb3' into the Git cache... unpacking 'github:NixOS/nixpkgs/8bb5646e0bed5dbd3ab08c7a7cc15b75ab4e1d0f' into the Git cache... unpacking 'github:NixOS/nixpkgs/6859d355d0a6b414f62bc7cd625d7863642f5542' into the Git cache... unpacking 'github:NixOS/nixpkgs/2d293cbfa5a793b4c50d17c05ef9e385b90edf6c' into the Git cache... unpacking 'github:nix-community/nixvim/6bdabc1359d7658e1d9ce065db37df92e904b581' into the Git cache... unpacking 'github:nix-community/stylix/c9760a6a2ba532e6d0dcae804b7cb62ec7198f70' into the Git cache... unpacking 'github:davegallant/vpngate/eda46dcce93b9246784e684e9cb7e8b96d53ee1d' into the Git cache... • Updated input 'home-manager': 'github:nix-community/home-manager/3fdd076e08049a9c7a83149b270440d9787d2df5?narHash=sha256-BgtcUkBfItu9/yU14IgUaj4rYOanTOUZjUfBP20/ZB4%3D' (2025-11-30) → 'github:nix-community/home-manager/f3902b5d8767985680875ad86d028371100faeb3?narHash=sha256-L979az28t/%2BSXvYw9qhOno5HLlDwkZOpz6LzCLnjmRM%3D' (2025-12-01) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/d542db745310b6929708d9abea513f3ff19b1341?narHash=sha256-x2xCEXUlU4Ap56%2Bt5HaoReOQ/bV/bIQ5rzTn/m%2BV3HQ%3D' (2025-11-30) → 'github:NixOS/nixpkgs/8bb5646e0bed5dbd3ab08c7a7cc15b75ab4e1d0f?narHash=sha256-SqUuBFjhl/kpDiVaKLQBoD8TLD%2B/cTUzzgVFoaHrkqY%3D' (2025-11-30) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/10b2374fe32d931515f2b08868d3076142a1b4b7?narHash=sha256-bgVXj7uXkl5ecjb/EbN7b3YLbWAT7NDxfdQDX4cOGso%3D' (2025-12-01) → 'github:NixOS/nixpkgs/6859d355d0a6b414f62bc7cd625d7863642f5542?narHash=sha256-sDLg1ZsSXpMMtteHPWjdThjVv5wwUy2GsiHf8O1ng4M%3D' (2025-12-01) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/2fad6eac6077f03fe109c4d4eb171cf96791faa4?narHash=sha256-sKoIWfnijJ0%2B9e4wRvIgm/HgE27bzwQxcEmo2J/gNpI%3D' (2025-11-27) → 'github:NixOS/nixpkgs/2d293cbfa5a793b4c50d17c05ef9e385b90edf6c?narHash=sha256-pp3uT4hHijIC8JUK5MEqeAWmParJrgBVzHLNfJDZxg4%3D' (2025-11-30) • Updated input 'nixvim': 'github:nix-community/nixvim/967ba0bbe11cb9e5db56449c56e9d061c2915857?narHash=sha256-G%2BTNek01gaoje0kcMN9hZ3JL4xiMc0tUqDxzKL8B/f8%3D' (2025-11-30) → 'github:nix-community/nixvim/6bdabc1359d7658e1d9ce065db37df92e904b581?narHash=sha256-oHT1/E5yf9lvOVHtO5joevADcQLGp5mVab5shVVqxso%3D' (2025-12-01) • Updated input 'stylix': 'github:nix-community/stylix/1fdde45cb0d30936839a630b98660e1579603951?narHash=sha256-rofXPD/9TGpHveo1MTlUfpnF0MCG1/uHUB9f0rosdqc%3D' (2025-11-30) → 'github:nix-community/stylix/c9760a6a2ba532e6d0dcae804b7cb62ec7198f70?narHash=sha256-PtJfp13TUHZ24Z3ybeb2W3pOr%2BSEjI3xkcTumgGT28E%3D' (2025-12-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
- NixOS (Linux)
- Determinate Nix (macOS)
- just
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
Languages
Nix
96.1%
Shell
2.2%
Just
1.7%