Dave Gallant 574c8febc5 nix flake update: 2024-02-26 13:55:27 UTC
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c5101e457206dd437330d283d6626944e28794b3' (2024-02-23)
  → 'github:NixOS/nixpkgs/5bf1cadb72ab4e77cb0b700dab76bcdaf88f706b' (2024-02-25)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/9a9dae8f6319600fa9aebde37f340975cab4b8c0' (2024-02-24)
  → 'github:NixOS/nixpkgs/2a34566b67bef34c551f204063faeecc444ae9da' (2024-02-25)
2024-02-26 08:55:27 -05:00
2024-02-23 20:25:14 -05:00
2024-02-25 21:46:42 -05:00
2021-12-14 01:14:57 -05:00
2022-08-31 14:59:41 -04:00
2022-08-10 09:59:06 -04:00
2024-02-18 19:17:42 -05:00
2023-09-30 21:20:12 -04:00
2024-02-21 19:56:50 -05:00
2024-02-19 21:39:32 -05:00
2024-02-18 20:06:48 -05:00
2024-02-18 21:26:40 -05:00
2022-05-28 18:49:15 -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

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%