Dave Gallant 7a4615ca67 nix flake update: 2025-01-05 14:41:59 UTC
unpacking 'github:lnl7/nix-darwin/ba9b3173b0f642ada42b78fb9dfc37ca82266f6c' into the Git cache...
unpacking 'github:ghostty-org/ghostty/7a27af8bfce9007e31be10aeafe7a968a66aa0b5' into the Git cache...
unpacking 'github:NixOS/nixpkgs/d86ae899d2909c0899e4d3b29d90d5309771e77c' into the Git cache...
• Updated input 'darwin':
    'github:lnl7/nix-darwin/a464e5ba8cfb10a81599dbd422f30f5d37997916?narHash=sha256-anoVvML2D%2BnLfHlBfhEcCMjTou/9SRrrlqQN%2BUg39ws%3D' (2025-01-04)
  → 'github:lnl7/nix-darwin/ba9b3173b0f642ada42b78fb9dfc37ca82266f6c?narHash=sha256-bTl9fcUo767VaSx4Q5kFhwiDpFQhBKna7lNbGsqCQiA%3D' (2025-01-05)
• Updated input 'ghostty':
    'github:ghostty-org/ghostty/0306c592a7dbaa394da481ab2219b3bcd2b8b48f?narHash=sha256-jKWHpdlWyN8fa/1MvSRX2qVf%2BZBJLu8NsH7T9xK4WRo%3D' (2025-01-04)
  → 'github:ghostty-org/ghostty/7a27af8bfce9007e31be10aeafe7a968a66aa0b5?narHash=sha256-VTKk01nq122E0YuDcTS7tWFBlfOjnZQteHJkPU5F370%3D' (2025-01-05)
• Updated input 'nixpkgs-master':
    'github:NixOS/nixpkgs/b00f0047f0c691d17e515004c03f7ea8fc4c2096?narHash=sha256-GrbPeyG8jkxT0q81rPis3DipB0mN7oPiEFy17Qki3hs%3D' (2025-01-05)
  → 'github:NixOS/nixpkgs/d86ae899d2909c0899e4d3b29d90d5309771e77c?narHash=sha256-6SrMWqWSmPJaXtg2RD793HcBvTe0wfVPx60WzIl7SEA%3D' (2025-01-05)
2025-01-05 09:41:59 -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%