Dave Gallant e634948710 nix flake update: 2025-01-02 22:24:24 UTC
• Updated input 'ghostty':
    'github:ghostty-org/ghostty/94599102e9fb8247af08cbbbcb7ee25e3d31e1bd?narHash=sha256-f4LI34cXP8nOTi4Va6GPUFaJYf0qGbabk%2BOeUddsfuk%3D' (2025-01-01)
  → 'github:ghostty-org/ghostty/d28024bb60ecf5a881348763d24a2a250e7e7e21?narHash=sha256-xMtTlYejUZl0tykVzmV87h%2B4Xw0IkuAXwxWFh/v6p/w%3D' (2025-01-02)
• Updated input 'nixpkgs-master':
    'github:NixOS/nixpkgs/9b84330b71860b2134554d473a23e67950cd73dd?narHash=sha256-4lP78IFN4MBR7jY1KhlU0aEBmlroLUg%2BeHCBrUp3aho%3D' (2025-01-02)
  → 'github:NixOS/nixpkgs/cd9f495ef7584a714938915d3fe9327c2735d7e4?narHash=sha256-pNb03vdsQmn0jS5dKAdx2DFZ2QH4RRvrIzZxqpfMcS8%3D' (2025-01-02)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/69b9a8c860bdbb977adfa9c5e817ccb717884182?narHash=sha256-5zJyv66q68QZJZsXtmjDBazGnF0id593VSy%2B8eSckoo%3D' (2024-12-31)
  → 'github:NixOS/nixpkgs/81934660d6e9ea54d2f0cdee821e8533b10c221a?narHash=sha256-h1CpBzdJDNtSUb5QMyfFHKHocTTky%2B4McgQEBQBM%2BxA%3D' (2024-12-31)
2025-01-02 17:24:24 -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%