Dave Gallant 73de012d53 nix flake update: 2025-01-27 14:36:24 UTC
unpacking 'github:NixOS/nixos-hardware/dfad538f751a5aa5d4436d9781ab27a6128ec9d4' into the Git cache...
unpacking 'github:NixOS/nixpkgs/4e96537f163fad24ed9eb317798a79afc85b51b7' into the Git cache...
unpacking 'github:NixOS/nixpkgs/230e24f2754323257395f833ad21cc218efbfe52' into the Git cache...
unpacking 'github:NixOS/nixpkgs/88a55dffa4d44d294c74c298daf75824dc0aafb5' into the Git cache...
unpacking 'github:nix-community/nixvim/841155edf9c4578f2f9a7bd6993e1da2ce73b35c' into the Git cache...
unpacking 'github:danth/stylix/bcbd472edc8ed15624a378ce513b1e001d77594a' into the Git cache...
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/035f8c0853c2977b24ffc4d0a42c74f00b182cd8?narHash=sha256-YnHJJ19wqmibLQdUeq9xzE6CjrMA568KN/lFPuSVs4I%3D' (2025-01-23)
  → 'github:NixOS/nixpkgs/4e96537f163fad24ed9eb317798a79afc85b51b7?narHash=sha256-GFzPxJzTd1rPIVD4IW%2BGwJlyGwBDV1Tj5FLYwDQQ9sM%3D' (2025-01-26)
• Updated input 'nixpkgs-master':
    'github:NixOS/nixpkgs/5ae93f6f5ff16ca8f173c8b3a6ca5e9cc2ee7ac7?narHash=sha256-ceM2MamH8jGQohsllsiaiQSgNsl4u/Bl/CrYcJDqiTA%3D' (2025-01-26)
  → 'github:NixOS/nixpkgs/230e24f2754323257395f833ad21cc218efbfe52?narHash=sha256-K%2BMw%2Bi50byWCeWwo45yK7%2BODhv4k%2Bz62EQ3zuox3NGs%3D' (2025-01-27)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/ecd26a469ac56357fd333946a99086e992452b6a?narHash=sha256-ET91TMkab3PmOZnqiJQYOtSGvSTvGeHoegAv4zcTefM%3D' (2025-01-24)
  → 'github:NixOS/nixpkgs/88a55dffa4d44d294c74c298daf75824dc0aafb5?narHash=sha256-8Eo/jRAgT3CbAloyqOj6uPN1EqBvLI/Tv2g%2BRxHjkhU%3D' (2025-01-27)
• Updated input 'stylix':
    'github:danth/stylix/a178019e0855f5e0048d994e7bc9337f961b6bc9?narHash=sha256-vAaSMmOZv0fyHeGqpaKRF4eWDcpFMBrELv%2BiCYkxqIE%3D' (2025-01-25)
  → 'github:danth/stylix/bcbd472edc8ed15624a378ce513b1e001d77594a?narHash=sha256-Jt0F1wY2AcgQdSfOE1%2BB0YnBYDgFYXJKDyEIa6/2VFk%3D' (2025-01-26)
2025-01-27 09:36:24 -05:00
2025-01-15 13:06:16 -05:00
2025-01-22 12:55:52 -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
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
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%