mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 18:53:39 +00:00
30863ba79fe35c3a56a686703f360912d85a224a
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/1f08a4df998e21f4e8be8fb6fbf61d11a1a5076a' into the Git cache... unpacking 'github:NixOS/nixpkgs/f8a3116347dbec8df87c3ec6d8058d6bc3fe104e' into the Git cache... unpacking 'github:NixOS/nixpkgs/dc9637876d0dcc8c9e5e22986b857632effeb727' into the Git cache... unpacking 'github:danth/stylix/5b81b0c4fbab3517b39d63f493760d33287150ad' into the Git cache... • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/13e8d35b7d6028b7198f8186bc0347c6abaa2701?narHash=sha256-uDCFHeXdRIgJpYmtcUxGEsZ%2BhYlLPBhR83fdU%2BvbC1s%3D' (2025-07-26) → 'github:NixOS/nixpkgs/1f08a4df998e21f4e8be8fb6fbf61d11a1a5076a?narHash=sha256-%2BjkEZxs7bfOKfBIk430K%2BtK9IvXlwzqQQnppC2ZKFj4%3D' (2025-07-29) • Updated input 'nixpkgs-master': 'github:NixOS/nixpkgs/82bf514f0192f31dfaa6b518b76139b8fa00166c?narHash=sha256-fxYVygHgbEhoB7Br%2B%2BqI0fTEsQWN2sZ4PdGu9BqaXyU%3D' (2025-07-29) → 'github:NixOS/nixpkgs/f8a3116347dbec8df87c3ec6d8058d6bc3fe104e?narHash=sha256-24WD8myNILMiElSrxbDAJRBUzT97qlcaQvlhqpD8Vwo%3D' (2025-08-01) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/17f6bd177404d6d43017595c5264756764444ab8?narHash=sha256-Znl7rzuxKg/Mdm6AhimcKynM7V3YeNDIcLjBuoBcmNs%3D' (2025-07-26) → 'github:NixOS/nixpkgs/dc9637876d0dcc8c9e5e22986b857632effeb727?narHash=sha256-cKgvtz6fKuK1Xr5LQW/zOUiAC0oSQoA9nOISB0pJZqM%3D' (2025-07-28) • Updated input 'stylix': 'github:danth/stylix/8340949b7cba126b6939ae588e6619f8e23bba9d?narHash=sha256-zxAiwoYqjesNbV46vGZe9ONvazQDPswnHfhsvvzqkU4%3D' (2025-07-28) → 'github:danth/stylix/5b81b0c4fbab3517b39d63f493760d33287150ad?narHash=sha256-MdMdQymbivEWWkC5HqeLYtP8FYu0SqiSpiRlyw9Fm3Y%3D' (2025-07-31)
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%