mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 23:03:40 +00:00
460790c980d8f022184deedcc6fe523dfb96e74c
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:nix-community/home-manager/0d13ea58d565d3c1c1468ddae1f623316dc395d9' into the Git cache... unpacking 'github:NixOS/nixpkgs/7282cb574e0607e65224d33be8241eae7cfe0979' into the Git cache... unpacking 'github:NixOS/nixpkgs/8ca7ec685bbee55d6dcb326abe23945c0806c39e' into the Git cache... unpacking 'github:danth/stylix/79ec2e885e2b66f2fc6e6b6db15c49c81ebaf7d8' into the Git cache... • Updated input 'darwin': 'github:lnl7/nix-darwin/2456ff5c95edfc3b197cb012b947012faed77591?narHash=sha256-9bJzyUX5%2BHXYmI60WMGYXXDdhGbSh1Le6yBM4og3K7E%3D' (2025-05-23) → 'github:lnl7/nix-darwin/75b99daa12b1fffd646d6c3cf13b06f1fa5cef63?narHash=sha256-qi6aDGP2W6GyAUNEhg%2BslQWEpUiJ8LNIrQkmxHpzadI%3D' (2025-05-27) • Updated input 'home-manager': 'github:nix-community/home-manager/d0bbd221482c2713cccb80220f3c9d16a6e20a33?narHash=sha256-Qb84nbYFFk0DzFeqVoHltS2RodAYY5/HZQKE8WnBDsc%3D' (2025-05-18) → 'github:nix-community/home-manager/0d13ea58d565d3c1c1468ddae1f623316dc395d9?narHash=sha256-e9zc/rHdoH9i%2BsFFhhQiKoF6IuD%2BT2rB/nUyPaO7CCg%3D' (2025-05-29) • Updated input 'home-manager/nixpkgs': 'github:NixOS/nixpkgs/d89fc19e405cb2d55ce7cc114356846a0ee5e956?narHash=sha256-3e%2BAVBczosP5dCLQmMoMEogM57gmZ2qrVSrmq9aResQ%3D' (2025-05-10) → 'github:NixOS/nixpkgs/7282cb574e0607e65224d33be8241eae7cfe0979?narHash=sha256-hYKMs3ilp09anGO7xzfGs3JqEgUqFMnZ8GMAqI6/k04%3D' (2025-05-28) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/55d1f923c480dadce40f5231feb472e81b0bab48?narHash=sha256-y2ZtlIlNTuVJUZCqzZAhIw5rrKP4DOSklev6c8PyCkQ%3D' (2025-05-22) → 'github:NixOS/nixpkgs/7282cb574e0607e65224d33be8241eae7cfe0979?narHash=sha256-hYKMs3ilp09anGO7xzfGs3JqEgUqFMnZ8GMAqI6/k04%3D' (2025-05-28) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/dadc2fe32ae5d3f31afc67750200774053ab9e10?narHash=sha256-kdv2iQRdIjPp0Zo2knFgMWkH1ZTEFWZS6Jhx/GSfGHU%3D' (2025-05-24) → 'github:NixOS/nixpkgs/8ca7ec685bbee55d6dcb326abe23945c0806c39e?narHash=sha256-XbIdzeWUL6Htz3/EbeyY71qMxYizMUWYltWYGg6qfcI%3D' (2025-05-30) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/063f43f2dbdef86376cc29ad646c45c46e93234c?narHash=sha256-6m1Y3/4pVw1RWTsrkAK2VMYSzG4MMIj7sqUy7o8th1o%3D' (2025-05-23) → 'github:NixOS/nixpkgs/4faa5f5321320e49a78ae7848582f684d64783e9?narHash=sha256-QlL8slIgc16W5UaI3w7xHQEP%2BQmv/6vSNTpoZrrSlbk%3D' (2025-05-27) • Updated input 'nixvim': 'github:nix-community/nixvim/9a252f90400ee57cfadcf65aeff999513313166e?narHash=sha256-xhyQ1QaMfeNOvYCANbi6rh6OC9OZ94Dx97RLNPUgCeI%3D' (2025-05-24) → 'github:nix-community/nixvim/cfea16cdbe4f13b5d39dfe3df747092448252c9d?narHash=sha256-1bGQAkqnGyov/tfiJw1HTK3vTHrgEo977J6RfjqrH0s%3D' (2025-05-25) • Updated input 'stylix': 'github:danth/stylix/df93f602dd8c84e7bd067654cc2f6422d5868496?narHash=sha256-qHewVAhQ2kaZLHcO9lDzMeAGDFmbDd36kls7bi7HgMQ%3D' (2025-05-23) → 'github:danth/stylix/79ec2e885e2b66f2fc6e6b6db15c49c81ebaf7d8?narHash=sha256-nnvjhz1PtS/Vfw8bgU0AkXq1U42gilzfFak65EmHW4g%3D' (2025-05-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%