Dave Gallant 8ff005b130 nix flake update: 2025-01-06 13:38:32 UTC
unpacking 'github:NixOS/nixpkgs/a8be94c0af330325c8c96730cdae5e168a0632a1' into the Git cache...
• Updated input 'ghostty':
    'github:ghostty-org/ghostty/7a27af8bfce9007e31be10aeafe7a968a66aa0b5?narHash=sha256-VTKk01nq122E0YuDcTS7tWFBlfOjnZQteHJkPU5F370%3D' (2025-01-05)
  → 'github:ghostty-org/ghostty/6181487bad55f8bbff9ce4f849a40fac72120f82?narHash=sha256-NPfIRTbmzP5%2BIbbDIYED3zxVd%2Bb1DSsl8nCGRBt3iQo%3D' (2025-01-06)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/d29ab98cd4a70a387b8ceea3e930b3340d41ac5a?narHash=sha256-vk0xwGZSlvZ/596yxOtsk4gxsIx2VemzdjiU8zhjgWw%3D' (2025-01-03)
  → 'github:NixOS/nixpkgs/cbd8ec4de4469333c82ff40d057350c30e9f7d36?narHash=sha256-DjkQPnkAfd7eB522PwnkGhOMuT9QVCZspDpJJYyOj60%3D' (2025-01-05)
• Updated input 'nixpkgs-master':
    'github:NixOS/nixpkgs/d86ae899d2909c0899e4d3b29d90d5309771e77c?narHash=sha256-6SrMWqWSmPJaXtg2RD793HcBvTe0wfVPx60WzIl7SEA%3D' (2025-01-05)
  → 'github:NixOS/nixpkgs/a8be94c0af330325c8c96730cdae5e168a0632a1?narHash=sha256-ITgWNzchyP8qH2rSumeNudc7dP/A4yD%2BuqF2qYgTtT0%3D' (2025-01-06)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/a27871180d30ebee8aa6b11bf7fef8a52f024733?narHash=sha256-Q4HuFAvoKAIiTRZTUxJ0ZXeTC7lLfC9/dggGHNXNlCw%3D' (2025-01-03)
  → 'github:NixOS/nixpkgs/bf689c40d035239a489de5997a4da5352434632e?narHash=sha256-jdd5UWtLVrNEW8K6u5sy5upNAFmF3S4Y%2BOIeToqJ1X8%3D' (2025-01-05)
2025-01-06 08:38:32 -05:00
2024-12-18 17:52:29 -05:00
2024-12-29 01:38:02 -05:00
2024-09-17 23:49:08 -04: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
2024-09-17 23:49:08 -04:00
2024-12-26 21:53:08 -05:00
2024-11-23 09:22:06 -05:00
2024-07-28 08:26:09 -04:00
2023-09-30 21:20:12 -04:00
2024-03-15 12:31:01 -04:00
2024-05-29 18:58:15 -04: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%