mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 18:53:39 +00:00
93cb12459a83034cee1bd3e79913a8f0504bf251
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/29e290002bfff26af1db6f64d070698019460302' into the Git cache... unpacking 'github:NixOS/nixpkgs/e6e45d9aa62a96dbfd5def815ecf16308c246f24' into the Git cache... unpacking 'github:NixOS/nixpkgs/1fd8bada0b6117e6c7eb54aad5813023eed37ccb' into the Git cache... unpacking 'github:nix-community/nixvim/76d059bac23d8ee5bb5cc624cd5a9206092ae8ab' into the Git cache... unpacking 'github:danth/stylix/bdd1946898b6959ff5e263c99db5a2525f1bb1fb' into the Git cache... • Updated input 'home-manager': 'github:nix-community/home-manager/501cfec8277f931a9c9af9f23d3105c537faeafe?narHash=sha256-tWosziZTT039x6PgEZUhzGlV8oLvdDmIgKTE8ESMaEA%3D' (2025-07-02) → 'github:nix-community/home-manager/9b0873b46c9f9e4b7aa01eb634952c206af53068?narHash=sha256-kllkNbIqQi3VplgTMeGzuh1t8Gk8TauvkTRt93Km%2BtQ%3D' (2025-07-06) • Updated input 'home-manager/nixpkgs': 'github:NixOS/nixpkgs/b43c397f6c213918d6cfe6e3550abfe79b5d1c51?narHash=sha256-1Cu92i1KSPbhPCKxoiVG5qnoRiKTgR5CcGSRyLpOd7Y%3D' (2025-06-29) → 'github:NixOS/nixpkgs/7a732ed41ca0dd64b4b71b563ab9805a80a7d693?narHash=sha256-u7ubvtxdTnFPpV27AHpgoKn7qHuE7sgWgza/1oj5nzA%3D' (2025-07-03) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/7a732ed41ca0dd64b4b71b563ab9805a80a7d693?narHash=sha256-u7ubvtxdTnFPpV27AHpgoKn7qHuE7sgWgza/1oj5nzA%3D' (2025-07-03) → 'github:NixOS/nixpkgs/29e290002bfff26af1db6f64d070698019460302?narHash=sha256-t75Shs76NgxjZSgvvZZ9qOmz5zuBE8buUaYD28BMTxg%3D' (2025-07-05) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/cd33df57f2c042934010dd9451c28862193dbcf0?narHash=sha256-rsP16eftWOJQSW3798CVbnlxUMFM931Mm89f97j%2BBog%3D' (2025-07-05) → 'github:NixOS/nixpkgs/e6e45d9aa62a96dbfd5def815ecf16308c246f24?narHash=sha256-p0vmFfKMct1JytTzkh8KejcOI/texvM8/Y9RoOLT%2BTE%3D' (2025-07-07) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/3016b4b15d13f3089db8a41ef937b13a9e33a8df?narHash=sha256-P/SQmKDu06x8yv7i0s8bvnnuJYkxVGBWLWHaU%2Btt4YY%3D' (2025-06-30) → 'github:NixOS/nixpkgs/1fd8bada0b6117e6c7eb54aad5813023eed37ccb?narHash=sha256-J1kI6oAj25IG4EdVlg2hQz8NZTBNYvIS0l4wpr9KcUo%3D' (2025-07-06) • Updated input 'nixvim': 'github:nix-community/nixvim/13cc4d84572c5f5d469a3a3454fa2028f78a3137?narHash=sha256-ub1Pj%2BoSrt2bE1tzTRYEwzCFewsc9F7X7RIJooM94MU%3D' (2025-07-02) → 'github:nix-community/nixvim/76d059bac23d8ee5bb5cc624cd5a9206092ae8ab?narHash=sha256-tKxXR1PtdpnscHf%2BkhVrXAmQzbhROycxhIxjpZByGY8%3D' (2025-07-07) • Updated input 'stylix': 'github:danth/stylix/5dd301b72207d4fd8d8b929abd88ba1c486d1744?narHash=sha256-jqRbWjB8aH2qzq6nMQpwkzVBR4o9lNxAHFmRgGwnJ94%3D' (2025-07-04) → 'github:danth/stylix/bdd1946898b6959ff5e263c99db5a2525f1bb1fb?narHash=sha256-nPVGDI/YXkWuap2AR6wZHITNBtc64FYSHxH7g87/MMo%3D' (2025-07-07)
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%