Dave Gallant 8a5a43c039 nix flake update: 2024-10-09 02:53:41 UTC
• Updated input 'darwin':
    'github:lnl7/nix-darwin/8c8388ade72e58efdeae71b4cbb79e872c23a56b' (2024-10-03)
  → 'github:lnl7/nix-darwin/48b50b3b137be5cfb9f4d006835ce7c3fe558ccc' (2024-10-08)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/b7ca02c7565fbf6d27ff20dd6dbd49c5b82eef28' (2024-10-04)
  → 'github:NixOS/nixos-hardware/ecfcd787f373f43307d764762e139a7cdeb9c22b' (2024-10-07)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/6e6b3dd395c3b1eb9be9f2d096383a8d05add030' (2024-10-04)
  → 'github:NixOS/nixpkgs/1bfbbbe5bbf888d675397c66bfdb275d0b99361c' (2024-10-07)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/e2f08f4d8b3ecb5cf5c9fd9cb2d53bb3c71807da' (2024-10-05)
  → 'github:NixOS/nixpkgs/f85a2d005e83542784a755ca8da112f4f65c4aa4' (2024-10-07)
• Updated input 'nixvim':
    'github:nix-community/nixvim/12cc74ae4b22cb20486c22a3163d7cdbd7fdf047' (2024-10-05)
  → 'github:nix-community/nixvim/b041963c607d766c4b102b8b56244ad38731f549' (2024-10-07)
• Updated input 'nixvim/devshell':
    'github:numtide/devshell/67cce7359e4cd3c45296fb4aaf6a19e2a9c757ae' (2024-07-27)
  → 'github:numtide/devshell/dd6b80932022cea34a019e2bb32f6fa9e494dfef' (2024-10-07)
2024-10-08 22:53:42 -04:00
2024-10-07 07:53:16 -04:00
2024-09-29 16:16:49 -04: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-09-17 23:49:08 -04:00
2024-09-17 23:49:08 -04: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-09-17 23:49:08 -04:00
2024-03-15 12:31:01 -04:00
2024-06-28 12:01:09 -04:00
2024-09-17 23:49:08 -04: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%