Dave Gallant e86f87a130 nix flake update: 2025-01-09 01:27:05 UTC
• Updated input 'darwin':
    'github:lnl7/nix-darwin/ba9b3173b0f642ada42b78fb9dfc37ca82266f6c?narHash=sha256-bTl9fcUo767VaSx4Q5kFhwiDpFQhBKna7lNbGsqCQiA%3D' (2025-01-05)
  → 'github:lnl7/nix-darwin/57733bd1dc81900e13438e5b4439239f1b29db0e?narHash=sha256-iWcjToBpx4PUd74uqvIGAfqqVfyrvRLRauC/SxEKIF0%3D' (2025-01-08)
• Updated input 'ghostty':
    'github:ghostty-org/ghostty/0065aae6b6b97f47afbd5a9cb71852cebbe2ea69?narHash=sha256-RROzoSujiA6efbs9damV9ZzmOtYYpwnoVdqjeVuhWQU%3D' (2025-01-07)
  → 'github:ghostty-org/ghostty/eb40cce45e6593a4065a32681d27c75c4ca3a9c9?narHash=sha256-iCb3%2BKniUL0Ic1AUkaM3CpO2UGNW6CQSigVzuVUQ8T0%3D' (2025-01-08)
• Updated input 'home-manager':
    'github:nix-community/home-manager/613691f285dad87694c2ba1c9e6298d04736292d?narHash=sha256-oJDtWPH1oJT34RJK1FSWjwX4qcGOBRkcNQPD0EbSfNM%3D' (2024-12-28)
  → 'github:nix-community/home-manager/bd65bc3cde04c16755955630b344bc9e35272c56?narHash=sha256-dinzAqCjenWDxuy%2BMqUQq0I4zUSfaCvN9rzuCmgMZJY%3D' (2025-01-08)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/ca30f8501ab452ca687a7fdcb2d43e1fb1732317?narHash=sha256-uTdscVaKjnRnBIMuu/oWwdiGhYd/JOQ4YZGHeCoroqs%3D' (2025-01-07)
  → 'github:NixOS/nixos-hardware/4f339f6be2b61662f957c2ee9eda0fa597d8a6d6?narHash=sha256-BG1FfTexFwNty5VhYjaQLMR6CMPfI3QRcaZrFQYu2EM%3D' (2025-01-07)
• Updated input 'nixpkgs-master':
    'github:NixOS/nixpkgs/ed8af6b426c0a90b0bf1ea96973153a491d3f181?narHash=sha256-KcdVNgQ00kePPm4KfxspYzYucMCmInAUSCDSQvj7oZ8%3D' (2025-01-07)
  → 'github:NixOS/nixpkgs/8e97141d59b87e2bf254cd0920be29955d45a698?narHash=sha256-h0hPzFp7iVhCqzBx%2BkJGdO/KmG8AkYRJ0jKxQ6%2Bdiug%3D' (2025-01-09)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/b30f97d8c32d804d2d832ee837d0f1ca0695faa5?narHash=sha256-U47xeACNBpkSO6IcCm0XvahsVXpJXzjPIQG7TZlOToU%3D' (2025-01-06)
  → 'github:NixOS/nixpkgs/8c9fd3e564728e90829ee7dbac6edc972971cd0f?narHash=sha256-CHd7yhaDigUuJyDeX0SADbTM9FXfiWaeNyY34FL1wQU%3D' (2025-01-07)
• Updated input 'stylix':
    'github:danth/stylix/f4626fbf4f0f804e2568e5428d9bbf76f3ddd907?narHash=sha256-plIQVeq7E6VZtgxqpI%2BQS6vln/NYdUifAzfZfgeqRt8%3D' (2025-01-07)
  → 'github:danth/stylix/c62df1918d178ade64dc8a2df99e78a5d5f20514?narHash=sha256-k66y4eMHZiJO3N43wuZOdoRmGmNwIj3EZq6NGK%2BAEM8%3D' (2025-01-09)
2025-01-08 20:27:05 -05:00
2024-12-18 17:52:29 -05:00
2024-12-29 01:38:02 -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-12-26 21:53:08 -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%