Dave Gallant 5a6ad08648 nix flake update: 2025-04-04 21:58:48 UTC
unpacking 'github:NixOS/nixpkgs/bdb91860de2f719b57eef819b5617762f7120c70' into the Git cache...
unpacking 'github:NixOS/nixpkgs/017583d659ea1dee77b5f37b57ec311d5d522c25' into the Git cache...
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/02f2af8c8a8c3b2c05028936a1e84daefa1171d4?narHash=sha256-7PCBQ4aGVF8OrzMkzqtYSKyoQuU2jtpPi4lmABpe5X4%3D' (2025-04-01)
  → 'github:NixOS/nixpkgs/bdb91860de2f719b57eef819b5617762f7120c70?narHash=sha256-s1KLDALEeqy%2BttrvqV3jx9mBZEvmthQErTVOAzbjHZs%3D' (2025-04-03)
• Updated input 'nixpkgs-master':
    'github:NixOS/nixpkgs/dfa986cbcf5e4658b909fe3a79a4f22bb2c567cc?narHash=sha256-2wHSj66NKAK4cj43iEL6Z/Pwz4p8AFxIx5PuEtBJe4I%3D' (2025-04-02)
  → 'github:NixOS/nixpkgs/017583d659ea1dee77b5f37b57ec311d5d522c25?narHash=sha256-w9rClYqQ61XsK34OflvsxxuxCHS82TYrbuyz/w4FQgE%3D' (2025-04-04)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/b9d43b3fe5152d1dc5783a2ba865b2a03388b741?narHash=sha256-Bl/ynRPIb4CdtbEw3gfJYpKiHmRmrKltXc8zipqpO0o%3D' (2025-04-01)
  → 'github:NixOS/nixpkgs/2bfc080955153be0be56724be6fa5477b4eefabb?narHash=sha256-y7Hg5lwWhEOgflEHRfzSH96BOt26LaYfrYWzZ%2BVoVdg%3D' (2025-04-03)
2025-04-04 17:58:48 -04:00
2025-02-09 14:57:43 -05:00
2025-03-30 10:21:30 -04:00
2025-02-01 13:04:31 -05:00
2024-09-17 23:49:08 -04:00
2024-09-06 21:12:20 -04:00
2022-08-31 14:59:41 -04:00
2025-01-27 17:26:05 -05:00
2025-02-28 11:59:59 -05:00
2024-11-23 09:22:06 -05:00
2025-03-10 21:20:29 -04:00
2023-09-30 21:20:12 -04:00
2024-05-29 18:58:15 -04:00
2025-02-03 11:48:21 -05:00
2024-03-15 12:31:01 -04:00
2024-06-28 12:01:09 -04:00
2024-11-23 09:22:06 -05:00
2024-09-17 23:49:08 -04:00

nix-config

This repo stores nix to manage my machines 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.

Setup

on macOS: install the latest unstable nix from https://github.com/numtide/nix-unstable-installer (for nix flakes), and nix-darwin: https://github.com/LnL7/nix-darwin

Recipes are stored in a justfile. just is required.

To run a 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

Pre-commit hooks are automatically activated when direnv is installed.

Description
configuration for my mac and linux workstations
Readme MIT 6.9 MiB
Languages
Nix 96.6%
Shell 1.9%
Just 1.5%