Dave Gallant 74ba3c99eb nix flake update: 2025-01-06 16:44:56 UTC
unpacking 'github:lnl7/nix-darwin/ba9b3173b0f642ada42b78fb9dfc37ca82266f6c' into the Git cache...
unpacking 'github:ghostty-org/ghostty/34612047410ecd329c8a06e95189d84e8e3514a6' into the Git cache...
unpacking 'github:nix-community/home-manager/613691f285dad87694c2ba1c9e6298d04736292d' into the Git cache...
unpacking 'github:NixOS/nixos-hardware/7c674c6734f61157e321db595dbfcd8523e04e19' into the Git cache...
unpacking 'github:NixOS/nixpkgs/cbd8ec4de4469333c82ff40d057350c30e9f7d36' into the Git cache...
unpacking 'github:NixOS/nixpkgs/a8f637ac992b99261a2245b83b360d29527f2aee' into the Git cache...
unpacking 'github:NixOS/nixpkgs/bf689c40d035239a489de5997a4da5352434632e' into the Git cache...
unpacking 'github:nix-community/nixvim/6bd1c7c5927fa9fdfdfd68f5aa772e6a62b9d779' into the Git cache...
unpacking 'github:danth/stylix/5204b085385c0bfaa1eb1bb0f8dc81922012128d' into the Git cache...
• Updated input 'ghostty':
    'github:ghostty-org/ghostty/6181487bad55f8bbff9ce4f849a40fac72120f82?narHash=sha256-NPfIRTbmzP5%2BIbbDIYED3zxVd%2Bb1DSsl8nCGRBt3iQo%3D' (2025-01-06)
  → 'github:ghostty-org/ghostty/34612047410ecd329c8a06e95189d84e8e3514a6?narHash=sha256-4NDt2s77I0Vklt9ixE%2BJFpbeyd7UOCf9e45xKfRclw4%3D' (2025-01-06)
• Updated input 'nixpkgs-master':
    'github:NixOS/nixpkgs/a8be94c0af330325c8c96730cdae5e168a0632a1?narHash=sha256-ITgWNzchyP8qH2rSumeNudc7dP/A4yD%2BuqF2qYgTtT0%3D' (2025-01-06)
  → 'github:NixOS/nixpkgs/a8f637ac992b99261a2245b83b360d29527f2aee?narHash=sha256-JKtAYQ9JJdf0F5W%2BKyUiM5/fRhGCXwaR96qrnbyri90%3D' (2025-01-06)
2025-01-06 11:44:56 -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%