mirror of
https://github.com/michaelthomson0797/nixos-server.git
synced 2025-12-19 03:18:49 +00:00
update README
This commit is contained in:
16
README.md
16
README.md
@@ -1,9 +1,13 @@
|
|||||||
# Nixos Server
|
# 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.
|
||||||
|
|
||||||
```
|
## Initializing the nodes
|
||||||
|
```sh
|
||||||
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
|
cd <path to flake>
|
||||||
|
|
||||||
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
|
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
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user