From 5a3fdff38883c3329bb893d8f7943d15be96c74b Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Sat, 22 Jul 2023 14:33:00 +0200 Subject: [PATCH] Update README --- README.md | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 5e2a2fa..575bf72 100644 --- a/README.md +++ b/README.md @@ -4,19 +4,6 @@ This repository contains my configuration for my Nixos systems. I don't provide any garantuees that it will work on other systems. In addition some of the scripts required for installation will destroy your data when used. -## VM installation - -This allows you to setup a VM with minimal effort. -However this requires some prerequisites. - -- A VM running the minimal NixOS ISO reachable with SSH under nixos@nixos.2li.local. -- The VM runs UEFI. -- You've set a password for the nixos user. - -1. `./scripts/install_new_vm.sh` -2. Provide the required information and wait until the script is finished. -3. Reboot and profit! - ## Raspberry Pi installation 1. Add the new system to `flake.nix`. @@ -34,14 +21,13 @@ However this requires some prerequisites. 1. `curl https://git.2li.ch/Nebucatnetzer/nixos/archive/master.tar.gz | tar xz` 2. `cd nixos && nix-shell` -3. `sudo python3 scripts/format-disk.py` +3. `sudo ./scripts/format-disk.py` 4. `sudo nixos-install --no-root-passwd --root /mnt --impure --flake .#SYSTEMNAME` ## Update remote systems -Simply run the script `scripts/update_all_systems.xsh` and it will iterate over -all defined systems. -The script requires Xonsh but can be easily adapted to BASH or similar. +Simply run the script `scripts/remote_switch.sh` and it will iterate over +all defined systems. With the option `-r` the systems will reboot as well. ## Non-Nixos System