From 37a128e35565dc78f96ec8dc295f168451067ab2 Mon Sep 17 00:00:00 2001 From: Michael Thomson Date: Wed, 3 Dec 2025 09:46:13 -0500 Subject: [PATCH] update README --- README.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index bab4214..2040ee8 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,13 @@ # Nixos Server -- This is my nix config to initialize the nodes on my home k3s server. +- This is my nix config for the nodes on my home server. -``` - -nix run github:nix-community/nixos-anywhere -- --build-on-remote --generate-hardware-config nixos-generate-config ./hardware-configuration.nix --flake .#patrick root@192.168.2.100 - -nix run github:nix-community/nixos-anywhere -- --build-on-remote --generate-hardware-config nixos-generate-config ./hardware-configuration.nix --flake .#spongebob root@192.168.2.101 +## Initializing the nodes +```sh +cd + +nix run github:nix-community/nixos-anywhere -- --build-on-remote --generate-hardware-config nixos-generate-config ./hosts/patrick/hardware-configuration.nix --flake .#patrick root@192.168.2.100 + +nix run github:nix-community/nixos-anywhere -- --build-on-remote --generate-hardware-config nixos-generate-config ./hosts/spongebob/hardware-configuration.nix --flake .#spongebob root@192.168.2.101 + +nix run github:nix-community/nixos-anywhere -- --build-on-remote --generate-hardware-config nixos-generate-config ./hosts/larry/hardware-configuration.nix --flake .#larry root@192.168.2.42 ```