Update README.md

This commit is contained in:
2025-04-12 12:49:10 -04:00
parent e3d785384b
commit 7cdf454ea0
2 changed files with 16 additions and 16 deletions

View File

@@ -1,17 +1,17 @@
# nix-config
This repo stores nix to manage my machines running [NixOS](https://nixos.org/) and macOS.
This repo stores nix configuration to manage my machines running [NixOS](https://nixos.org/) 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
## Prerequisites
> 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
- [Determine Nix](https://determinate.systems/nix-installer)
- [just](https://github.com/casey/just)
Recipes are stored in a justfile. [just](https://github.com/casey/just) is required.
## Build
To run a rebuild:
To run a build/rebuild:
```sh
just rebuild

20
flake.lock generated
View File

@@ -739,12 +739,12 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1744098102,
"narHash": "sha256-tzCdyIJj9AjysC3OuKA+tMD/kDEDAF9mICPDU7ix0JA=",
"rev": "c8cd81426f45942bb2906d5ed2fe21d2f19d95b7",
"revCount": 780821,
"lastModified": 1744232761,
"narHash": "sha256-gbl9hE39nQRpZaLjhWKmEu5ejtQsgI5TWYrIVVJn30U=",
"rev": "f675531bc7e6657c10a18b565cfebd8aa9e24c14",
"revCount": 781462,
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.780821%2Brev-c8cd81426f45942bb2906d5ed2fe21d2f19d95b7/01961896-6594-781c-9822-188112a7194e/source.tar.gz"
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.781462%2Brev-f675531bc7e6657c10a18b565cfebd8aa9e24c14/019624ad-56cd-7f8b-93ed-52e57165b6b6/source.tar.gz"
},
"original": {
"type": "tarball",
@@ -797,12 +797,12 @@
},
"nixpkgs_5": {
"locked": {
"lastModified": 1744168086,
"narHash": "sha256-S9M4HddBCxbbX1CKSyDYgZ8NCVyHcbKnBfoUXeRu2jQ=",
"rev": "60e405b241edb6f0573f3d9f944617fe33ac4a73",
"revCount": 716868,
"lastModified": 1744309437,
"narHash": "sha256-QZnNHM823am8apCqKSPdtnzPGTy2ZB4zIXOVoBp5+W0=",
"rev": "f9ebe33a928b5d529c895202263a5ce46bdf12f7",
"revCount": 716906,
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2411.716868%2Brev-60e405b241edb6f0573f3d9f944617fe33ac4a73/01961b92-4be5-715e-a6e0-5470d7835dcf/source.tar.gz"
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2411.716906%2Brev-f9ebe33a928b5d529c895202263a5ce46bdf12f7/01962516-8e8a-7dcf-a403-62dfeef93d76/source.tar.gz"
},
"original": {
"type": "tarball",