Dave Gallant dcebeb4484 nix flake update: 2025-02-06 00:42:17 UTC
• Updated input 'nixpkgs-master':
    'github:NixOS/nixpkgs/ceaea203f3ae1787b1bd13f021f686391696fc5b?narHash=sha256-CZ8T4vP3ag2hwkpSZjatxJb55ouszvmnWw09qxGW9TU%3D' (2025-02-05)
  → 'github:NixOS/nixpkgs/f6c5b2b731ab9fae53cc985efd63eb18e7c170a3?narHash=sha256-d/4tG8DUwSUL1EVfnlevlWA3zjtlzQOx%2B8xSUhhpby8%3D' (2025-02-06)
• Updated input 'nixvim':
    'github:nix-community/nixvim/3eafee65e0f20684cb09223718195425b54c02a4?narHash=sha256-qgshhFqTKsPA3QMwPhbYZrvcRCbkzZ/pZNbJSrCtLTE%3D' (2025-02-01)
  → 'github:nix-community/nixvim/82440e1d4ed9d252d09c4cd9edc8c9ef23ce1f3a?narHash=sha256-oFox7N1n%2BEE2I4WvuE0y4SI0a6h9RAoT216QQCtGcQ4%3D' (2025-02-05)
2025-02-05 19:42:17 -05:00
2025-02-05 08:57:19 -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%