Dave Gallant d1ce11e457 nix flake update: 2025-02-23 15:08:28 UTC
unpacking 'github:NixOS/nixpkgs/11415c7ae8539d6292f2928317ee7a8410b28bb9' into the Git cache...
unpacking 'github:NixOS/nixpkgs/28124a6bac5ee0f34924dc68def9f134717f58ce' into the Git cache...
unpacking 'github:nix-community/nixvim/de4035ea1a84aa0ebe12d24fc660130a754e0a5c' into the Git cache...
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/36864ed72f234b9540da4cf7a0c49e351d30d3f1?narHash=sha256-BqUY8tz0AQ4to2Z4%2BuaKczh81zsGZSYxjgvtw%2BfvIfM%3D' (2025-02-19)
  → 'github:NixOS/nixpkgs/11415c7ae8539d6292f2928317ee7a8410b28bb9?narHash=sha256-SSYxFhqCOb3aiPb6MmN68yEzBIltfom8IgRz7phHscM%3D' (2025-02-21)
• Updated input 'nixpkgs-master':
    'github:NixOS/nixpkgs/3ac3a47fd4705dde1e2138cb184800dff7b3505b?narHash=sha256-jD%2B/wxZs9tIYeuhb9XPakVpb4d1Nq8hpz8rpCbIEIwM%3D' (2025-02-21)
  → 'github:NixOS/nixpkgs/28124a6bac5ee0f34924dc68def9f134717f58ce?narHash=sha256-61nyJR6atAgQ2B8r7oMP%2BKU%2BI3OK%2B%2BSFUN%2BZhWTeh%2B4%3D' (2025-02-23)
• Updated input 'nixvim':
    'github:nix-community/nixvim/6b2c62b91a10a773e705f55e8b34a19c8b1f3728?narHash=sha256-9hyreNdQtQaFzWAx38CHiKHFQ8vAc/J2/kXeT7Nwy6s%3D' (2025-02-15)
  → 'github:nix-community/nixvim/de4035ea1a84aa0ebe12d24fc660130a754e0a5c?narHash=sha256-3UKJJoY2hkqHuEbrlbQQRU4TIF0hV7Fw2b0PUZpnuBI%3D' (2025-02-22)
• Updated input 'nixvim/home-manager':
    'github:nix-community/home-manager/254d47082e23dbf72fdeca1da6fe1da420f478d8?narHash=sha256-eCc0/Q4bPpe4/AS%2BuzIrHLJcR6BxPQ69q2kD0/Qe6rU%3D' (2025-02-14)
  → 'github:nix-community/home-manager/9d3d080aec2a35e05a15cedd281c2384767c2cfe?narHash=sha256-Gs076ot1YuAAsYVcyidLKUMIc4ooOaRGO0PqTY7sBzA%3D' (2025-02-17)
• Updated input 'nixvim/nuschtosSearch':
    'github:NuschtOS/search/86e2038290859006e05ca7201425ea5b5de4aecb?narHash=sha256-4DaDrQDAIxlWhTjH6h/%2BxfG05jt3qDZrZE/7zDLQaS4%3D' (2025-02-02)
  → 'github:NuschtOS/search/9ff62c8e1fbe5dc649dee680c7eb4935936c8ac3?narHash=sha256-Rl4Fw%2B3PsLTEzzUGlB8kePaiIersDbv5voAif3D6LoM%3D' (2025-02-16)
• Updated input 'nixvim/treefmt-nix':
    'github:numtide/treefmt-nix/4f09b473c936d41582dd744e19f34ec27592c5fd?narHash=sha256-yrK3Hjcr8F7qS/j2F%2Br7C7o010eVWWlm4T1PrbKBOxQ%3D' (2025-02-07)
  → 'github:numtide/treefmt-nix/3d0579f5cc93436052d94b73925b48973a104204?narHash=sha256-mL1szCeIsjh6Khn3nH2cYtwO5YXG6gBiTw1A30iGeDU%3D' (2025-02-17)
2025-02-23 10:08:28 -05:00
2025-02-09 14:57:43 -05:00
2025-02-19 07:18:09 -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-03 11:48:21 -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%