Dave Gallant e6e27bf355 nix flake update: 2024-03-07 13:36:05 UTC
• Updated input 'darwin':
    'github:lnl7/nix-darwin/daa03606dfb5296a22e842acb02b46c1c4e9f5e7' (2024-03-04)
  → 'github:lnl7/nix-darwin/550340062c16d7ef8c2cc20a3d2b97bcd3c6b6f6' (2024-03-07)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/617579a787259b9a6419492eaac670a5f7663917' (2024-03-04)
  → 'github:NixOS/nixpkgs/880992dcc006a5e00dd0591446fdf723e6a51a64' (2024-03-05)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/311a4be96d940a0c673e88bd5bc83ea4f005cc02' (2024-03-05)
  → 'github:NixOS/nixpkgs/f945939fd679284d736112d3d5410eb867f3b31c' (2024-03-07)
2024-03-07 08:36:05 -05:00
2024-03-05 20:49:54 -05:00
2024-03-05 19:54:46 -05:00
2024-03-05 16:03:33 -05:00
2024-03-05 16:03:33 -05:00
2021-12-14 01:14:57 -05:00
2022-08-31 14:59:41 -04:00
2024-03-05 16:03:33 -05:00
2024-03-05 16:03:33 -05:00
2024-03-05 16:03:33 -05:00
2024-03-05 16:03:33 -05:00
2023-09-30 21:20:12 -04:00
2024-03-05 16:03:33 -05:00
2024-03-05 16:03:33 -05:00
2024-03-05 16:03:33 -05:00
2024-02-18 20:06:48 -05:00
2024-02-18 21:26:40 -05:00
2024-03-05 16:03:33 -05:00
2024-03-05 16:03:33 -05: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

To run a rebuild:

make

Update

To update nixpkgs defined in flake.nix, run:

make update

If there are updates, they should be reflected in flake.lock.

Rollback

To rollback to the previous generation:

make rollback

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%