Dave Gallant 0bf8efb914 nix flake update: 2024-02-28 21:15:53 UTC
• Updated input 'darwin':
    'github:lnl7/nix-darwin/6c06334f0843c7300d1678726bb607ce526f6b36' (2024-02-27)
  → 'github:lnl7/nix-darwin/283d59778e6b8c41cac4bdeac5b2512d6de51150' (2024-02-28)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/3f7d0bca003eac1a1a7f4659bbab9c8f8c2a0958' (2024-02-22)
  → 'github:NixOS/nixos-hardware/33a97b5814d36ddd65ad678ad07ce43b1a67f159' (2024-02-28)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/8520c158aee718c6e87b56881105fc4223c3c723' (2024-02-27)
  → 'github:NixOS/nixpkgs/d53c2037394da6fe98decca417fc8fda64bf2443' (2024-02-28)
2024-02-28 16:49:00 -05:00
2024-02-26 20:38:23 -05:00
2024-02-26 22:41:46 -05:00
2024-02-26 20:43:08 -05:00
2024-02-26 20:43:08 -05:00
2021-12-14 01:14:57 -05:00
2022-08-31 14:59:41 -04:00
2024-02-26 20:43:08 -05:00
2022-08-10 09:59:06 -04:00
2024-02-18 19:17:42 -05:00
2024-02-26 20:43:08 -05:00
2023-09-30 21:20:12 -04:00
2024-02-26 20:43:08 -05:00
2024-02-26 22:36:19 -05:00
2024-02-27 15:50:23 -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
2024-02-26 20:43:08 -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%