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}"