Test sleep instead of asking for user input for a reboot
This commit is contained in:
@@ -6,7 +6,10 @@ The install script works on Linux and macOS.
|
|||||||
The configuration is done through home-manager.
|
The configuration is done through home-manager.
|
||||||
If you would like to use this repository, I recommend forking it and editing home.nix to your liking.
|
If you would like to use this repository, I recommend forking it and editing home.nix to your liking.
|
||||||
|
|
||||||
Install: `curl -L https://raw.githubusercontent.com/TrudeEH/dotfiles/main/install.sh | bash`
|
## Install
|
||||||
|
```sh
|
||||||
|
curl -L https://raw.githubusercontent.com/TrudeEH/dotfiles/main/install.sh | bash
|
||||||
|
```
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
- Nix (installed automatically)
|
- Nix (installed automatically)
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ ln -s $HOME/dotfiles/home.nix $HOME/.config/home-manager/home.nix
|
|||||||
|
|
||||||
home-manager -b backup switch
|
home-manager -b backup switch
|
||||||
echo
|
echo
|
||||||
echo -e "${GREEN}[I] Done. Press ENTER to reboot.${ENDCOLOR}"
|
echo -e "${GREEN}[I] Done. Rebooting in 5 seconds...${ENDCOLOR}"
|
||||||
read
|
sleep 5
|
||||||
|
|
||||||
systemctl reboot
|
systemctl reboot
|
||||||
|
|||||||
Reference in New Issue
Block a user