mirror of
https://github.com/davegallant/nix-config
synced 2025-11-25 23:14:16 +00:00
755c3aa5345cb615d4c8331bbe243e35771f8213
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:davegallant/vpngate/eda46dcce93b9246784e684e9cb7e8b96d53ee1d' into the Git cache... • Updated input 'home-manager': 'github:nix-community/home-manager/3b955f5f0a942f9f60cdc9cacb7844335d0f21c3?narHash=sha256-uhzsV0Q0I9j2y/rfweWeGif5AWe0MGrgZ/3TjpDYdGA%3D' (2025-09-21) → 'github:nix-community/home-manager/44831a7eaba4360fb81f2acc5ea6de5fde90aaa3?narHash=sha256-WHkdBlw6oyxXIra/vQPYLtqY%2B3G8dUVZM8bEXk0t8x4%3D' (2025-11-24) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/c58bc7f5459328e4afac201c5c4feb7c818d604b?narHash=sha256-1jQnuyu82FpiSxowrF/iFK6Toh9BYprfDqfs4BB%2B19M%3D' (2025-11-20) → 'github:NixOS/nixpkgs/1c8ba8d3f7634acac4a2094eef7c32ad9106532c?narHash=sha256-dY9qLD0H0zOUgU3vWacPY6Qc421BeQAfm8kBuBtPVE0%3D' (2025-11-24) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/4d9e3cbc3630f460476bcb5ad42c9cd82c1a13b6?narHash=sha256-I%2BmU02PTDHrDX6vDqGEtyxb3bLK1wM7yBVD0LSj7nM0%3D' (2025-11-23) → 'github:NixOS/nixpkgs/79428fb6786fd04b70a57e4c1be709e6f94e2e98?narHash=sha256-lN13%2BQOzIj1EcGz2JN8CzsLpHBA7MYTyZoAU%2Bdh0E9Y%3D' (2025-11-25) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/117cc7f94e8072499b0a7aa4c52084fa4e11cc9b?narHash=sha256-%2BhBiJ%2BkG5IoffUOdlANKFflTT5nO3FrrR2CA3178Y5s%3D' (2025-11-20) → 'github:NixOS/nixpkgs/050e09e091117c3d7328c7b2b7b577492c43c134?narHash=sha256-HzxeGVID5MChuCPESuC0dlQL1/scDKu%2BMmzoVBJxulM%3D' (2025-11-22) • Updated input 'vpngate': 'github:davegallant/vpngate/903f93895ad58d7837be799bed3e849ab875cec0?narHash=sha256-x0z/4ONOg2/xnKdxlwpGlg8Puwz1N6nMVMNSC7Vh0Ro%3D' (2025-11-23) → 'github:davegallant/vpngate/eda46dcce93b9246784e684e9cb7e8b96d53ee1d?narHash=sha256-5bhF1Pdrz5yq9mSMWzoPRKDx6fedRr55A8%2Bv556MD/I%3D' (2025-11-25) • Updated input 'vpngate/nixpkgs': 'github:NixOS/nixpkgs/250b695f41e0e2f5afbf15c6b12480de1fe0001b?narHash=sha256-drDyYyUmjeYGiHmwB9eOPTQRjmrq3Yz26knwmMPLZFk%3D' (2025-04-05) → 'github:NixOS/nixpkgs/ee09932cedcef15aaf476f9343d1dea2cb77e261?narHash=sha256-9glbI7f1uU%2ByzQCq5LwLgdZqx6svOhZWkd4JRY265fc%3D' (2025-11-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
- 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.3%
Shell
2.1%
Just
1.6%