Dave Gallant 0323a75e47 nix flake update: 2025-02-03 03:45:03 UTC
unpacking 'github:NixOS/nixos-hardware/537286c3c59b40311e5418a180b38034661d2536' into the Git cache...
unpacking 'github:NixOS/nixpkgs/f6687779bf4c396250831aa5a32cbfeb85bb07a3' into the Git cache...
unpacking 'github:NixOS/nixpkgs/2d31b9476b7c6f5b029e595586b0b112a7ad130b' into the Git cache...
unpacking 'github:NixOS/nixpkgs/102a39bfee444533e6b4e8611d7e92aa39b7bec1' into the Git cache...
unpacking 'github:nix-community/nixvim/3eafee65e0f20684cb09223718195425b54c02a4' into the Git cache...
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/34b64e4e1ddb14e3ffc7db8d4a781396dbbab773?narHash=sha256-6HI58PKjddsC0RA0gBQlt6ox47oH//jLUHwx05RO8g0%3D' (2025-02-01)
  → 'github:NixOS/nixos-hardware/537286c3c59b40311e5418a180b38034661d2536?narHash=sha256-cgXDFrplNGs7bCVzXhRofjD8oJYqqXGcmUzXjHmip6Y%3D' (2025-02-02)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/666e1b3f09c267afd66addebe80fb05a5ef2b554?narHash=sha256-6L%2BWXKCw5mqnUIExvqkD99pJQ41xgyCk6z/H9snClwk%3D' (2025-01-30)
  → 'github:NixOS/nixpkgs/f6687779bf4c396250831aa5a32cbfeb85bb07a3?narHash=sha256-5%2BHmo4nbqw8FrW85FlNm4IIrRnZ7bn0cmXlScNsNRLo%3D' (2025-02-01)
• Updated input 'nixpkgs-master':
    'github:NixOS/nixpkgs/b551ebd09997dbd595a1a096aef36f68dd659ce2?narHash=sha256-PuaV68tah9bC6PzJQ2E/RofnzUCtGGMfJ9XfBXEETxw%3D' (2025-02-01)
  → 'github:NixOS/nixpkgs/2d31b9476b7c6f5b029e595586b0b112a7ad130b?narHash=sha256-HrrsuYIOl14dreCDUsXQGrWxdiU8LPKxcIo759jUk6Q%3D' (2025-02-03)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/9189ac18287c599860e878e905da550aa6dec1cd?narHash=sha256-AYvaFBzt8dU0fcSK2jKD0Vg23K2eIRxfsVXIPCW9a0E%3D' (2025-01-31)
  → 'github:NixOS/nixpkgs/102a39bfee444533e6b4e8611d7e92aa39b7bec1?narHash=sha256-Q4vhtbLYWBUnjWD4iQb003Lt%2BN5PuURDad1BngGKdUs%3D' (2025-02-01)
• Updated input 'nixvim':
    'github:nix-community/nixvim/841155edf9c4578f2f9a7bd6993e1da2ce73b35c?narHash=sha256-6ubhKkCkBMuqFMjzeg%2B/2L5dNipKKf1KE9i8r8inyEg%3D' (2025-01-24)
  → 'github:nix-community/nixvim/3eafee65e0f20684cb09223718195425b54c02a4?narHash=sha256-qgshhFqTKsPA3QMwPhbYZrvcRCbkzZ/pZNbJSrCtLTE%3D' (2025-02-01)
• Updated input 'nixvim/nuschtosSearch':
    'github:NuschtOS/search/570cc17bbc25650eb7d69e4fcda8cfd2f1656922?narHash=sha256-nH3zK2ki0fd5o5qvbGHxukE4qnOLJa1uCzoDObG5vrE%3D' (2025-01-20)
  → 'github:NuschtOS/search/5efc9c966bb9bdad07a3c28667eac38b758c6f18?narHash=sha256-9RO/IlxiE7bpY7GYsdDMNB533PnDOBo9UvYyXXqlN4c%3D' (2025-01-26)
• Updated input 'nixvim/treefmt-nix':
    'github:numtide/treefmt-nix/f2cc121df15418d028a59c9737d38e3a90fbaf8f?narHash=sha256-5An1wq5U8sNycOBBg3nsDDgpwBmR9liOpDGlhliA6Xo%3D' (2025-01-21)
  → 'github:numtide/treefmt-nix/bebf27d00f7d10ba75332a0541ac43676985dea3?narHash=sha256-j6jC12vCFsTGDmY2u1H12lMr62fnclNjuCtAdF1a4Nk%3D' (2025-01-28)
2025-02-02 22:45:03 -05:00
2025-02-01 13:04:31 -05:00
2025-02-01 13:04:31 -05: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
2025-01-27 17:26:05 -05:00
2025-01-15 11:45:39 -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
2025-02-01 11:26:02 -05: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%