From 2c57539f9f09a6ba7d6370327a71f838f3255741 Mon Sep 17 00:00:00 2001 From: iFargle Date: Fri, 22 Sep 2023 08:33:59 +0900 Subject: [PATCH] Update install script --- nixos/common/modules/installer.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/nixos/common/modules/installer.nix b/nixos/common/modules/installer.nix index d650eec3..6821482c 100644 --- a/nixos/common/modules/installer.nix +++ b/nixos/common/modules/installer.nix @@ -6,12 +6,6 @@ let #set -euo pipefail -# check if we are running in a live CD environment. -if [ df -h | grep tmpfs | grep /$ | wc -l -ne 1 ]; then - echo "ERROR! Not in a live CD environment (/ is not tmpfs)." - exit 1 -fi - TARGET_HOST="''${1:-}" TARGET_USER="''${2:-albert}"