Dave Gallant 23659314f5 nix flake update: 2025-01-07 19:55:16 UTC
unpacking 'github:ghostty-org/ghostty/0065aae6b6b97f47afbd5a9cb71852cebbe2ea69' into the Git cache...
unpacking 'github:NixOS/nixos-hardware/ca30f8501ab452ca687a7fdcb2d43e1fb1732317' into the Git cache...
unpacking 'github:NixOS/nixpkgs/3f0a8ac25fb674611b98089ca3a5dd6480175751' into the Git cache...
unpacking 'github:NixOS/nixpkgs/ed8af6b426c0a90b0bf1ea96973153a491d3f181' into the Git cache...
unpacking 'github:NixOS/nixpkgs/b30f97d8c32d804d2d832ee837d0f1ca0695faa5' into the Git cache...
unpacking 'github:danth/stylix/f4626fbf4f0f804e2568e5428d9bbf76f3ddd907' into the Git cache...
• Updated input 'nixpkgs-master':
    'github:NixOS/nixpkgs/6a25f33c843a45b8d67ba782b6782973a7265774?narHash=sha256-MiS6n5gcZdz42822GKlkuxEeyiT602DOciMEKF8YBUg%3D' (2025-01-07)
  → 'github:NixOS/nixpkgs/ed8af6b426c0a90b0bf1ea96973153a491d3f181?narHash=sha256-KcdVNgQ00kePPm4KfxspYzYucMCmInAUSCDSQvj7oZ8%3D' (2025-01-07)
2025-01-07 14:55:16 -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%