Dave Gallant 3d8eb87595 nix flake update: 2025-01-07 03:23:49 UTC
unpacking 'github:ghostty-org/ghostty/a3837a1e4ee06a183f32d4a622c2cdcd51f73fb8' into the Git cache...
unpacking 'github:NixOS/nixpkgs/f3dfdd4524133cfaadb7b2df11fc99efbf2b71c1' into the Git cache...
unpacking 'github:danth/stylix/45af2a43aaaf05dfb8839dc827c2e2b0d98375da' into the Git cache...
• Updated input 'ghostty':
    'github:ghostty-org/ghostty/34612047410ecd329c8a06e95189d84e8e3514a6?narHash=sha256-4NDt2s77I0Vklt9ixE%2BJFpbeyd7UOCf9e45xKfRclw4%3D' (2025-01-06)
  → 'github:ghostty-org/ghostty/a3837a1e4ee06a183f32d4a622c2cdcd51f73fb8?narHash=sha256-QnDkQ/s1OWmPj1f%2B7MFNxQiAPJdHbI1Aft7yM5I%2B8gQ%3D' (2025-01-07)
• Updated input 'nixpkgs-master':
    'github:NixOS/nixpkgs/a8f637ac992b99261a2245b83b360d29527f2aee?narHash=sha256-JKtAYQ9JJdf0F5W%2BKyUiM5/fRhGCXwaR96qrnbyri90%3D' (2025-01-06)
  → 'github:NixOS/nixpkgs/f3dfdd4524133cfaadb7b2df11fc99efbf2b71c1?narHash=sha256-0BDQdKXpbuZU8iAkWQqF0F69li32lM544mS%2BN/qTwYg%3D' (2025-01-07)
• Updated input 'stylix':
    'github:danth/stylix/5204b085385c0bfaa1eb1bb0f8dc81922012128d?narHash=sha256-MWe3RXEV9dov1wFZraWagVAxynPo/VceStIYfNRgqG4%3D' (2025-01-04)
  → 'github:danth/stylix/45af2a43aaaf05dfb8839dc827c2e2b0d98375da?narHash=sha256-ucHJzVv3lGxq7v%2Bsnqs/rDNwojVyvBHxwQ5yE2qNfNc%3D' (2025-01-06)
• Added input 'stylix/firefox-gnome-theme':
    'github:rafaelmardojai/firefox-gnome-theme/92f4890bd150fc9d97b61b3583680c0524a8cafe?narHash=sha256-A9PxLienMYJ/WUvqFie9qXrNC2MeRRYw7TG/q7DRjZg%3D' (2024-12-23)
2025-01-06 22:23:49 -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%