mirror of
https://github.com/davegallant/nix-config
synced 2026-03-03 08:36:36 +00:00
11a5e25fa9b2f36f4d45b34e2b537be3c2a034a7
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/e40ac75fc78ce355da33c545198c30dc5fccc9eb' into the Git cache... • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/28bb483c11a1214a73f9fd2d9928a6e2ea86ec71?narHash=sha256-9Wx53UK0z8Di5iesJID0tS1dRKwGxI4i7tsSanOHhF0%3D' (2025-12-13) → 'github:NixOS/nixpkgs/c8cfcd6ccd422e41cc631a0b73ed4d5a925c393d?narHash=sha256-3iXM/zTqEskWtmZs3gqNiVtRTsEjYAedIaLL0mSBsrk%3D' (2025-12-15) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/f9a7fdd6101319fb1220d0905909aea54e5d8999?narHash=sha256-0VT36Ig9Z5rgXtQ4dgVgrDPS1UrASffWC/r4O9zFUaE%3D' (2025-12-14) → 'github:NixOS/nixpkgs/e40ac75fc78ce355da33c545198c30dc5fccc9eb?narHash=sha256-LyCfmKyIkJj%2BL02GQEz5I7EQuL1DlFVpDeUUopiV7YU%3D' (2025-12-16) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/2fbfb1d73d239d2402a8fe03963e37aab15abe8b?narHash=sha256-9VvC20PJPsleGMewwcWYKGzDIyjckEz8uWmT0vCDYK0%3D' (2025-12-11) → 'github:NixOS/nixpkgs/1306659b587dc277866c7b69eb97e5f07864d8c4?narHash=sha256-KJ2wa/BLSrTqDjbfyNx70ov/HdgNBCBBSQP3BIzKnv4%3D' (2025-12-15) • Updated input 'nixvim': 'github:nix-community/nixvim/f0b0cc7cae2cf5d76608c9164ab8824a2387e146?narHash=sha256-CdaiOfpBiS4kw/DR0Ut%2B02fpFnjM8hNZMZ53a1pavak%3D' (2025-12-13) → 'github:nix-community/nixvim/d8c9d8451d4592dd7de647230f407d4d6370bd8e?narHash=sha256-c2YaJUsLGk3WNqIHIU/Pt1fGjNH02ePsHfD5MJlfEe4%3D' (2025-12-15)
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.
❯ macchina
a8888b. Host - dave@hephaestus
d888888b. Machine - Micro-Star International Co., Ltd MS-7C02 1.0
8P"YP"Y88 Kernel - 6.12.61
8|o||o|88 Distro - NixOS 25.11 (Xantusia)
8' .88 DE - KDE
8`._.' Y8. Packages - 1 (cargo), 10998 (nix)
d/ `8b. Shell - fish
dP Y8b. Terminal - alacritty
d8: ::88b. Resolution - 2560x1440, 3840x2160
d8" 'Y88b Uptime - 26m
:8P :888 CPU - AMD Ryzen 7 5700X 8-Core Processor (16)
8a. _a88P CPU Load - 8%
._/"Yaa .| 88P| Memory - 10.7 GB / 32.8 GB
\ YP" `| `.
/ \.___.d| .'
`--..__) `._.'
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%