Dave Gallant 3e8a87e9f4 nix flake update: 2024-12-13 03:22:06 UTC
unpacking 'github:NixOS/nixpkgs/123d780a895647c7378c98d4a5774bc541df7245' into the Git cache...
• Updated input 'home-manager':
    'github:nix-community/home-manager/c7ffc9727d115e433fd884a62dc164b587ff651d?narHash=sha256-zjO6m5BqxXIyjrnUziAzk4%2BT4VleqjstNudSqWcpsHI%3D' (2024-12-07)
  → 'github:nix-community/home-manager/1318c3f3b068cdcea922fa7c1a0a1f0c96c22f5f?narHash=sha256-Zb5ZCa7Xj%2B0gy5XVXINTSr71fCfAv%2BIKtmIXNrykT54%3D' (2024-12-11)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e2605d0744c2417b09f8bf850dfca42fcf537d34?narHash=sha256-NcGumB4Lr6KSDq%2BnIqXtNA8QwAQKDSZT7N9OTGWbTrs%3D' (2024-12-07)
  → 'github:NixOS/nixpkgs/a0f3e10d94359665dba45b71b4227b0aeb851f8e?narHash=sha256-KWwINTQelKOoQgrXftxoqxmKFZb9pLVfnRvK270nkVk%3D' (2024-12-10)
• Updated input 'nixpkgs-master':
    'github:NixOS/nixpkgs/9409e7eb50e79dda54ed26b9964e56ef2d6138c9?narHash=sha256-gbUySWIwT45Yi52X7b3hUM9TcWjmlA9Tp/w0z%2BcfA4w%3D' (2024-12-11)
  → 'github:NixOS/nixpkgs/123d780a895647c7378c98d4a5774bc541df7245?narHash=sha256-eZseoHjNtSvfK8fbxEimr0N57PnT3yJp36H6w5rP5J0%3D' (2024-12-13)
• Updated input 'nixvim':
    'github:nix-community/nixvim/b752606681ded3f69e99ed568c7075b3578dce48?narHash=sha256-VHzWuZYK/m5OFXzAczrjnI7vH6knj0sfLnziRVDqgFE%3D' (2024-12-10)
  → 'github:nix-community/nixvim/d99bc6ebadce99dcb8b294c31fac96329b3bdf2e?narHash=sha256-Sgs%2BIBdeggoSPeiKHN40wW6/BgBDnersgdhLQK4fUR8%3D' (2024-12-12)
• Updated input 'stylix':
    'github:danth/stylix/bc25f3d69d3bb54548b772d7c2771e65cc37dc10?narHash=sha256-PMZdRUZQlouWgHFCFW8ANDFL6fUjZ67KAEaqRXwRwvc%3D' (2024-12-10)
  → 'github:danth/stylix/ccee633284cde8a9f825004e00dd84a31b10e6c6?narHash=sha256-72z7fZNeFtG%2BUWmbMn5by4K47HHBxk3JtV91D/qZEhg%3D' (2024-12-12)
2024-12-12 22:22:06 -05:00
2024-12-05 20:40:03 -05:00
2024-12-02 09:53:51 -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-11-23 09:22:06 -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-11-30 22:19:48 -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%