mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 11:04:02 -06:00
removing custom username
This commit is contained in:
parent
ba86573473
commit
8fdbfb2971
1 changed files with 0 additions and 9 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue