mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 18:53:39 +00:00
cfe2d0ca509382adaf2928759105fc13e316dd1d
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:NixOS/nixpkgs/b43c397f6c213918d6cfe6e3550abfe79b5d1c51' into the Git cache... unpacking 'github:NixOS/nixpkgs/6ca9d58dfe2c05365bd13e0c93cce42a98eb7b7d' into the Git cache... unpacking 'github:NixOS/nixpkgs/3016b4b15d13f3089db8a41ef937b13a9e33a8df' into the Git cache... unpacking 'github:nix-community/nixvim/be08ac18a1923d41b01f5f52d52a61467a3a660f' into the Git cache... unpacking 'github:danth/stylix/d859a4a6e079ffdae115bfe7b11cd69668b7f356' into the Git cache... • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/a676066377a2fe7457369dd37c31fd2263b662f4?narHash=sha256-zW/OFnotiz/ndPFdebpo3X0CrbVNf22n4DjN2vxlb58%3D' (2025-06-26) → 'github:NixOS/nixpkgs/b43c397f6c213918d6cfe6e3550abfe79b5d1c51?narHash=sha256-1Cu92i1KSPbhPCKxoiVG5qnoRiKTgR5CcGSRyLpOd7Y%3D' (2025-06-29) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/d85e3b87ffdc6e879499e54599a9d606b90955ce?narHash=sha256-gAsG49cKB6xa26dVmc4dbShLzRBHrTNwO9G1Cg9BG18%3D' (2025-06-28) → 'github:NixOS/nixpkgs/6ca9d58dfe2c05365bd13e0c93cce42a98eb7b7d?narHash=sha256-Jk/e291yPiSMLmrqlg8mrOL49lRoidORKkPQmFKzgkw%3D' (2025-07-01) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/30e2e2857ba47844aa71991daa6ed1fc678bcbb7?narHash=sha256-krGXKxvkBhnrSC/kGBmg5MyupUUT5R6IBCLEzx9jhMM%3D' (2025-06-27) → 'github:NixOS/nixpkgs/3016b4b15d13f3089db8a41ef937b13a9e33a8df?narHash=sha256-P/SQmKDu06x8yv7i0s8bvnnuJYkxVGBWLWHaU%2Btt4YY%3D' (2025-06-30) • Updated input 'nixvim': 'github:nix-community/nixvim/b04bcdcbba4aa648903e065ad1907a97d4f7aee9?narHash=sha256-kZqTQEARUkkKDFhECd0MGU4wXCJcxCdh5WeM/yD6oI4%3D' (2025-06-21) → 'github:nix-community/nixvim/be08ac18a1923d41b01f5f52d52a61467a3a660f?narHash=sha256-FC8NAHNb3DQucI6BqKVutYHC3b9qUPlMG2hnKL1cq8w%3D' (2025-06-28) • Updated input 'stylix': 'github:danth/stylix/d25e22b5c559651da55c0f46106e44fc88069ae1?narHash=sha256-C4Ze08bSadL/3Xba88wrxcmlzn/kPM2Bj3lBX501htk%3D' (2025-06-26) → 'github:danth/stylix/d859a4a6e079ffdae115bfe7b11cd69668b7f356?narHash=sha256-aoXASRGxR8mdXs9SU88x8yVDLs9cEou49ulWEHyn1s4%3D' (2025-06-30)
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%