From faf0528be2f5ff207aba2e6dd8c01b739f715398 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 21 Jul 2024 16:39:01 +0200 Subject: [PATCH] improve lsblk instructions --- templates/flake-parts/flake.nix | 8 ++++++-- templates/new-clan/flake.nix | 10 +++++++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/templates/flake-parts/flake.nix b/templates/flake-parts/flake.nix index b093b1766..2e7685140 100644 --- a/templates/flake-parts/flake.nix +++ b/templates/flake-parts/flake.nix @@ -49,7 +49,9 @@ # This only works however if you have avahi running on your admin machine else use IP clan.core.networking.targetHost = pkgs.lib.mkDefault "root@jon"; - # ssh root@flash-installer.local lsblk --output NAME,ID-LINK,FSTYPE,SIZE,MOUNTPOINT + # You can get your disk id by running the following command on the installer: + # Replace with the IP of the installer printed on the screen or by running the `ip addr` command. + # ssh root@ lsblk --output NAME,ID-LINK,FSTYPE,SIZE,MOUNTPOINT disko.devices.disk.main = { device = "/dev/disk/by-id/__CHANGE_ME__"; }; @@ -80,7 +82,9 @@ # This only works however if you have avahi running on your admin machine else use IP clan.core.networking.targetHost = pkgs.lib.mkDefault "root@sara"; - # ssh root@flash-installer.local lsblk --output NAME,ID-LINK,FSTYPE,SIZE,MOUNTPOINT + # You can get your disk id by running the following command on the installer: + # Replace with the IP of the installer printed on the screen or by running the `ip addr` command. + # ssh root@ lsblk --output NAME,ID-LINK,FSTYPE,SIZE,MOUNTPOINT disko.devices.disk.main = { device = "/dev/disk/by-id/__CHANGE_ME__"; }; diff --git a/templates/new-clan/flake.nix b/templates/new-clan/flake.nix index 155166100..da1d598d9 100644 --- a/templates/new-clan/flake.nix +++ b/templates/new-clan/flake.nix @@ -11,7 +11,7 @@ # Usage see: https://docs.clan.lol clan = clan-core.lib.buildClan { directory = self; - meta.name = "__CHANGE_ME__"; # Ensure this is internet wide unique. + meta.name = "__CHANGE_ME__"; # Ensure this is unique among all clans you want to use. # Distributed services, uncomment to enable. # inventory = { @@ -45,7 +45,9 @@ # This only works however if you have avahi running on your admin machine else use IP clan.core.networking.targetHost = pkgs.lib.mkDefault "root@jon"; - # ssh root@flash-installer.local lsblk --output NAME,ID-LINK,FSTYPE,SIZE,MOUNTPOINT + # You can get your disk id by running the following command on the installer: + # Replace with the IP of the installer printed on the screen or by running the `ip addr` command. + # ssh root@ lsblk --output NAME,ID-LINK,FSTYPE,SIZE,MOUNTPOINT disko.devices.disk.main.device = "/dev/disk/by-id/__CHANGE_ME__"; # IMPORTANT! Add your SSH key here @@ -74,7 +76,9 @@ # This only works however if you have avahi running on your admin machine else use IP clan.core.networking.targetHost = pkgs.lib.mkDefault "root@sara"; - # ssh root@flash-installer.local lsblk --output NAME,ID-LINK,FSTYPE,SIZE,MOUNTPOINT + # You can get your disk id by running the following command on the installer: + # Replace with the IP of the installer printed on the screen or by running the `ip addr` command. + # ssh root@ lsblk --output NAME,ID-LINK,FSTYPE,SIZE,MOUNTPOINT disko.devices.disk.main.device = "/dev/disk/by-id/__CHANGE_ME__"; # IMPORTANT! Add your SSH key here