feat: require hostname as a parameter during setup and improve hostname handling
Some checks failed
Nix Format Check / check-format (push) Failing after 38s

This commit is contained in:
2025-03-11 10:42:31 +01:00
parent 7e1094dd7c
commit d3caf87696
2 changed files with 27 additions and 32 deletions

View File

@ -14,16 +14,16 @@ I'd recommend getting the GNOME version as it's easier to setup unless you're pl
### 1. Clone dotfiles to home directory
Open a shell and begin the setup process. This setup will prompt you various questions such as your desired hostname and if the system you are installing is supposed to be a server or workstation.
Feel free to use an exisiting hostname to restore an old system or chose a new name.
Open a shell and begin the setup process. This setup requires you to provide a hostname as a parameter. You can use an existing hostname to restore an old system or choose a new name.
If you are running this in a VM be sure to answer yes if it prompts you.
```bash
curl -L https://df.mvl.sh | bash
curl -L https://df.mvl.sh | bash -s your-hostname
```
Replace `your-hostname` with your desired hostname for this machine.
### 2. Reboot
It's probably a good idea that you either reboot or log out and log back in to make sure all the changes are applied.