Dave Gallant 48e4cd3da9 nix flake update: 2025-01-07 19:27:15 UTC
unpacking 'github:ghostty-org/ghostty/0065aae6b6b97f47afbd5a9cb71852cebbe2ea69' into the Git cache...
unpacking 'github:NixOS/nixos-hardware/ca30f8501ab452ca687a7fdcb2d43e1fb1732317' into the Git cache...
unpacking 'github:NixOS/nixpkgs/3f0a8ac25fb674611b98089ca3a5dd6480175751' into the Git cache...
unpacking 'github:NixOS/nixpkgs/6a25f33c843a45b8d67ba782b6782973a7265774' into the Git cache...
unpacking 'github:danth/stylix/f4626fbf4f0f804e2568e5428d9bbf76f3ddd907' into the Git cache...
• Updated input 'ghostty':
    'github:ghostty-org/ghostty/a3837a1e4ee06a183f32d4a622c2cdcd51f73fb8?narHash=sha256-QnDkQ/s1OWmPj1f%2B7MFNxQiAPJdHbI1Aft7yM5I%2B8gQ%3D' (2025-01-07)
  → 'github:ghostty-org/ghostty/0065aae6b6b97f47afbd5a9cb71852cebbe2ea69?narHash=sha256-RROzoSujiA6efbs9damV9ZzmOtYYpwnoVdqjeVuhWQU%3D' (2025-01-07)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/7c674c6734f61157e321db595dbfcd8523e04e19?narHash=sha256-e5IOgjQf0SZcFCEV/gMGrsI0gCJyqOKShBQU0iiM3Kg%3D' (2024-12-28)
  → 'github:NixOS/nixos-hardware/ca30f8501ab452ca687a7fdcb2d43e1fb1732317?narHash=sha256-uTdscVaKjnRnBIMuu/oWwdiGhYd/JOQ4YZGHeCoroqs%3D' (2025-01-07)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/cbd8ec4de4469333c82ff40d057350c30e9f7d36?narHash=sha256-DjkQPnkAfd7eB522PwnkGhOMuT9QVCZspDpJJYyOj60%3D' (2025-01-05)
  → 'github:NixOS/nixpkgs/3f0a8ac25fb674611b98089ca3a5dd6480175751?narHash=sha256-JO%2BlFN2HsCwSLMUWXHeOad6QUxOuwe9UOAF/iSl1J4I%3D' (2025-01-06)
• Updated input 'nixpkgs-master':
    'github:NixOS/nixpkgs/f3dfdd4524133cfaadb7b2df11fc99efbf2b71c1?narHash=sha256-0BDQdKXpbuZU8iAkWQqF0F69li32lM544mS%2BN/qTwYg%3D' (2025-01-07)
  → 'github:NixOS/nixpkgs/6a25f33c843a45b8d67ba782b6782973a7265774?narHash=sha256-MiS6n5gcZdz42822GKlkuxEeyiT602DOciMEKF8YBUg%3D' (2025-01-07)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/bf689c40d035239a489de5997a4da5352434632e?narHash=sha256-jdd5UWtLVrNEW8K6u5sy5upNAFmF3S4Y%2BOIeToqJ1X8%3D' (2025-01-05)
  → 'github:NixOS/nixpkgs/b30f97d8c32d804d2d832ee837d0f1ca0695faa5?narHash=sha256-U47xeACNBpkSO6IcCm0XvahsVXpJXzjPIQG7TZlOToU%3D' (2025-01-06)
• Updated input 'stylix':
    'github:danth/stylix/45af2a43aaaf05dfb8839dc827c2e2b0d98375da?narHash=sha256-ucHJzVv3lGxq7v%2Bsnqs/rDNwojVyvBHxwQ5yE2qNfNc%3D' (2025-01-06)
  → 'github:danth/stylix/f4626fbf4f0f804e2568e5428d9bbf76f3ddd907?narHash=sha256-plIQVeq7E6VZtgxqpI%2BQS6vln/NYdUifAzfZfgeqRt8%3D' (2025-01-07)
2025-01-07 14:27:15 -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%