From 8fdbfb297181b67901b90492044eda23ed6384e1 Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Tue, 31 May 2022 13:23:21 +0000 Subject: [PATCH] removing custom username --- install.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/install.sh b/install.sh index 1559872..493292a 100644 --- a/install.sh +++ b/install.sh @@ -43,11 +43,6 @@ echo "" echo "Which is the root partition?" read rootName -echo "" -echo "Which is your username?" -read userName -echo "" - # Create EFI partition sudo mkfs.fat -F32 -n EFI $efiName @@ -94,10 +89,6 @@ sudo nixos-generate-config --root /mnt curl https://gitlab.com/ahoneybun/nyxi-installer/-/raw/main/config.nix > configuration.nix; sudo mv -f configuration.nix /mnt/etc/nixos/ -# Replacing username -sudo sed -i "s/aaronh/$userName/g" /mnt/etc/nixos/configuration.nix -sudo sed -i "s/\/home\/aaronh/\/home\/$userName/g" /mnt/etc/nixos/configuration.nix - # Install sudo nixos-install