Dave Gallant 6a9345cf47 nix flake update: 2025-01-03 21:32:47 UTC
unpacking 'github:ghostty-org/ghostty/fa30a04f2a3ac6b9819209cdd1a3bfa949281e1e' into the Git cache...
unpacking 'github:NixOS/nixpkgs/c94b24955d78a3f0f046f99f84583800328ddbaf' into the Git cache...
• Updated input 'ghostty':
    'github:ghostty-org/ghostty/e2f9eb6a6f4dc2108f91293938374c0ed314dcb8?narHash=sha256-EI6C%2BCRmfHqkjnp0aJxYb/pTImwb5FZOu1HWHnnZsOc%3D' (2025-01-03)
  → 'github:ghostty-org/ghostty/fa30a04f2a3ac6b9819209cdd1a3bfa949281e1e?narHash=sha256-WejwWvi7tZHx7Y1jxjTdsI26%2B%2BrygoT%2BR9hMegYVT1A%3D' (2025-01-03)
• Updated input 'nixpkgs-master':
    'github:NixOS/nixpkgs/561b254314bd4b7e18b255f50470cd8c1a901f45?narHash=sha256-bwzRjjf%2Bowmf9xTYSKFv4JXmUbWFlqWt7jeU95SmfVw%3D' (2025-01-03)
  → 'github:NixOS/nixpkgs/c94b24955d78a3f0f046f99f84583800328ddbaf?narHash=sha256-NP0fXnMrZYi/HRID7eebflcLIpyUzLgAH0cd1K%2Bi8rU%3D' (2025-01-03)
2025-01-03 16:32:47 -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%