Dave Gallant a541174a6e nix flake update: 2024-03-03 03:26:05 UTC
• Updated input 'darwin':
    'github:lnl7/nix-darwin/70d162d4684f738761ab4251c0cee05b5f5d4d53' (2024-03-01)
  → 'github:lnl7/nix-darwin/17c2ca3c7537a2512224242b84e1ea3c08e79b92' (2024-03-03)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/33a97b5814d36ddd65ad678ad07ce43b1a67f159' (2024-02-28)
  → 'github:NixOS/nixos-hardware/59e37017b9ed31dee303dbbd4531c594df95cfbc' (2024-03-02)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/068d4db604958d05d0b46c47f79b507d84dbc069' (2024-02-29)
  → 'github:NixOS/nixpkgs/79baff8812a0d68e24a836df0a364c678089e2c7' (2024-03-01)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/ec869190b56a1b4677d24a8bdbcfe80ccea2ece6' (2024-03-01)
  → 'github:NixOS/nixpkgs/458b097d81f90275b3fdf03796f0563844926708' (2024-03-02)
2024-03-02 22:26:05 -05:00
2024-02-26 20:38:23 -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-29 22:03:39 -05:00
2024-02-29 22:03:39 -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%