Dave Gallant 8001c5b1e6 nix flake update: 2025-12-19 22:38:41 UTC
Run `man nix.conf` for more information on the `substituters` configuration option.
Run `man nix.conf` for more information on the `substituters` configuration option.
unpacking 'https://flakehub.com/f/DeterminateSystems/determinate/%2A' into the Git cache...
unpacking 'github:davegallant/vpngate/a668484da6b969d29dd2f74d5a4f2323fb48beef' into the Git cache...
• Updated input 'determinate':
    'https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.14.0/019b0160-c5de-7941-9c26-cb47bc17eec3/source.tar.gz?narHash=sha256-kAO/ZeBnjaF%2BuqOP6qweXlRk2ylocLuv/9Dn8FsuPlU%3D' (2025-12-09)
  → 'https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.15.0/019b3865-57a1-7d80-98c5-962fac29c404/source.tar.gz?narHash=sha256-Bl%2Bp766mM7qNCZtMqmTz13RuUbOMKsFa%2B/vnGYoxgPk%3D' (2025-12-19)
• Updated input 'determinate/determinate-nixd-aarch64-darwin':
    'https://install.determinate.systems/determinate-nixd/tag/v3.14.0/macOS?narHash=sha256-6PWoqx52nvlWzlElTjcn7KAPKitfcKZYEFSsC3PoEoE%3D'
  → 'https://install.determinate.systems/determinate-nixd/tag/v3.15.0/macOS?narHash=sha256-vDaEQ5T4eA7kEPREmm68IVWGR6zT0aDL5slZxA6dkSc%3D'
• Updated input 'determinate/determinate-nixd-aarch64-linux':
    'https://install.determinate.systems/determinate-nixd/tag/v3.14.0/aarch64-linux?narHash=sha256-b1e25BUPL7Qf0QVbYlfZ/%2BQiClrP/SHIjMPtA47aOLc%3D'
  → 'https://install.determinate.systems/determinate-nixd/tag/v3.15.0/aarch64-linux?narHash=sha256-Hf4JsIv5G3IR0Q0RHGLSNdmDzFv97sVQQKwzY6A0vV4%3D'
• Updated input 'determinate/determinate-nixd-x86_64-linux':
    'https://install.determinate.systems/determinate-nixd/tag/v3.14.0/x86_64-linux?narHash=sha256-8EI2f8IftPcRFlR6K4%2BcpIEAVf5UIeMCjHysEtVqDw0%3D'
  → 'https://install.determinate.systems/determinate-nixd/tag/v3.15.0/x86_64-linux?narHash=sha256-J%2BJ4E02XpEl0ZkpzMbUmGCf6S4yk0gYCYmiGzZ058ik%3D'
• Updated input 'determinate/nix':
    'https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.14.0/019b0159-8907-7fab-a120-9d287c7e6d2e/source.tar.gz?narHash=sha256-p98D44tYJMgB5Qet5S8cTQFdffk/GmoaGkpQtZ3hqJU%3D' (2025-12-09)
  → 'https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.15.0/019b3854-cca6-7298-a91c-0fd8551a7270/source.tar.gz?narHash=sha256-0ZofAQZNgg5nfIKsVb7g4It6ufmIyLtfFRPOf%2B6WRkk%3D' (2025-12-19)
• Updated input 'determinate/nixpkgs':
    'https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.905078%2Brev-8c29968b3a942f2903f90797f9623737c215737c/019add91-3add-7a0d-8a25-9569cbe01efe/source.tar.gz?narHash=sha256-yU9BNcP0oadUKupw0UKmO9BKDOVIg9NStdJosEbXf8U%3D' (2025-12-01)
  → 'https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.911985%2Brev-09b8fda8959d761445f12b55f380d90375a1d6bb/019b25ab-7c11-79e0-a0b0-c94d455b7190/source.tar.gz?narHash=sha256-aq%2BdQoaPONOSjtFIBnAXseDm9TUhIbe215TPmkfMYww%3D' (2025-12-15)
• Updated input 'home-manager':
    'github:nix-community/home-manager/7df150f0d3857cf68dae443813b27acfb201b2d8?narHash=sha256-LN5O0h9GSgcDE/sz4%2BsLS3CbQALru1x4lh9hrxpeHwI%3D' (2025-12-16)
  → 'github:nix-community/home-manager/d3135ab747fd9dac250ffb90b4a7e80634eacbe9?narHash=sha256-/r9/1KamvbHJx6I40H4HsSXnEcBAkj46ZwibhBx9kg0%3D' (2025-12-17)
• Updated input 'home-manager/nixpkgs':
    'github:NixOS/nixpkgs/09eb77e94fa25202af8f3e81ddc7353d9970ac1b?narHash=sha256-mSD5Ob7a%2BT2RNjvPvOA1dkJHGVrNVl8ZOrAwBjKBDQo%3D' (2025-12-09)
  → 'github:NixOS/nixpkgs/c8cfcd6ccd422e41cc631a0b73ed4d5a925c393d?narHash=sha256-3iXM/zTqEskWtmZs3gqNiVtRTsEjYAedIaLL0mSBsrk%3D' (2025-12-15)
• Updated input 'nixpkgs-master':
    'github:NixOS/nixpkgs/0fc6414b45da07a3f57a64f4ce6426b1fd015c1f?narHash=sha256-tAy%2B/R6cqAhdlncSGor0EQVjh%2B51033eBkwQXLX2yyc%3D' (2025-12-17)
  → 'github:NixOS/nixpkgs/3eb6c51f25955007554cc159c85b41c487460852?narHash=sha256-qsnza9ZKO0pPagA/krHmwMg/eXzn/E1LbHc6oDNrnaI%3D' (2025-12-19)
• Updated input 'nixvim':
    'github:nix-community/nixvim/d8c9d8451d4592dd7de647230f407d4d6370bd8e?narHash=sha256-c2YaJUsLGk3WNqIHIU/Pt1fGjNH02ePsHfD5MJlfEe4%3D' (2025-12-15)
  → 'github:nix-community/nixvim/685d0be1fce70865c71108ef4105749dbd0957f3?narHash=sha256-QtDp8UDjBH0Dr7DgVUQHDU8lgQOHagx3JCRJcMWk5Ms%3D' (2025-12-17)
• Updated input 'vpngate':
    'github:davegallant/vpngate/eda46dcce93b9246784e684e9cb7e8b96d53ee1d?narHash=sha256-5bhF1Pdrz5yq9mSMWzoPRKDx6fedRr55A8%2Bv556MD/I%3D' (2025-11-25)
  → 'github:davegallant/vpngate/a668484da6b969d29dd2f74d5a4f2323fb48beef?narHash=sha256-24%2BgJj4UsxwQmdxSS3Aqo2fl0Ep13sYrTDvcHY24mwA%3D' (2025-12-19)
2025-12-19 17:38:41 -05:00
2025-12-17 09:30:52 -05:00
2025-04-06 22:03:10 -04:00
2025-04-12 23:55:23 -04:00
2025-12-14 10:04:21 -05:00
2025-12-14 00:11:31 -05:00
2025-12-19 17:08:55 -05:00
2023-09-30 21:20:12 -04:00
2025-12-19 17:08:55 -05:00
2024-06-28 12:01:09 -04:00
2025-11-14 08:24:07 -05:00

nix-config

This repo stores nix configuration to manage my hosts 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.

 macchina

        a8888b.           Host        -  dave@hephaestus
       d888888b.          Machine     -  Micro-Star International Co., Ltd MS-7C02 1.0
       8P"YP"Y88          Kernel      -  6.12.61
       8|o||o|88          Distro      -  NixOS 25.11 (Xantusia)
       8'    .88          DE          -  KDE
       8`._.' Y8.         Packages    -  1 (cargo), 10998 (nix)
      d/      `8b.        Shell       -  fish
     dP        Y8b.       Terminal    -  alacritty
    d8:       ::88b.      Resolution  -  2560x1440, 3840x2160
   d8"         'Y88b      Uptime      -  26m
  :8P           :888      CPU         -  AMD Ryzen 7 5700X 8-Core Processor (16)
   8a.         _a88P      CPU Load    -  8%
 ._/"Yaa     .| 88P|      Memory      -  10.7 GB / 32.8 GB
 \    YP"    `|     `.
 /     \.___.d|    .'
 `--..__)     `._.'

Prerequisites

Build

To run a build/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

Restoring from a live USB

If the bootloader for some reason breaks (i.e. motherboard firmware upgrade), restore it from a live USB by running the following commands:

$ sudo cryptsetup luksOpen /dev/nvme0n1p2 crypted-nixos
Enter passphrase for /dev/nvme0n1p2: ********
$ sudo mount /dev/vg/root /mnt
$ sudo mount /dev/nvme0n1p1 /mnt/boot/efi
$ sudo mount /dev/vg/home /mnt/home
$ sudo nixos-enter /mnt
$ hostname <hostname>

Navigate to the nix-config directory and run:

just rebuild-boot
Description
configuration for my mac and linux workstations
Readme MIT 8.1 MiB
Languages
Nix 96.1%
Shell 2.2%
Just 1.7%