diff --git a/README.md b/README.md deleted file mode 100644 index 1c230ce..0000000 --- a/README.md +++ /dev/null @@ -1,8 +0,0 @@ -To install a profile: -``` -git clone https://git.augustogunsch.com/augusto/archinstall-profiles -cd archinstall-profiles/ -archinstall --config user_configuration.json --disk-layout user_disk_layout.json --creds user_credentials.json -``` - -Change user password and confirm diff --git a/awesome/user_configuration.json b/awesome/user_configuration.json index 4c9cb84..6f7b16f 100644 --- a/awesome/user_configuration.json +++ b/awesome/user_configuration.json @@ -104,8 +104,8 @@ "timezone": "Europe/Warsaw", "version": "2.5.1", "custom-commands": [ - "sudo -u augusto sh -c 'mkdir $HOME/repos; cd $HOME/repos; git clone https://git.augustogunsch.com/augusto/dotfiles; cd dotfiles; ./install.sh; ./configure-nvim.sh'", - "sudo -u root sh -c 'mkdir $HOME/repos; cd $HOME/repos; git clone https://git.augustogunsch.com/augusto/dotfiles; cd dotfiles; ./install.sh; ./configure-nvim.sh'", + "sudo -u augusto sh -c 'mkdir $HOME/repos; cd $HOME/repos; git clone https://git.augustogunsch.com/augusto/dotfiles; cd dotfiles; ./install.sh'", + "sudo -u root sh -c 'mkdir $HOME/repos; cd $HOME/repos; git clone https://git.augustogunsch.com/augusto/dotfiles; cd dotfiles; ./install.sh'", "sed -i 's/export PROMPT=.*$/export PROMPT='\"'\"'%B%F{63}[%F{68}%n@%m %F{white}%~%F{63}]$%b%f '\"'\"'/' /root/.zshrc", "chsh -s /usr/bin/zsh root; chsh -s /usr/bin/zsh augusto", "sudo -u augusto sh -c 'mkdir /tmp/aur; cd /tmp/aur; git clone https://aur.archlinux.org/yay.git; cd yay; makepkg'", diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..096c4f5 --- /dev/null +++ b/install.sh @@ -0,0 +1,6 @@ +[ -z "$1" ] && echo 'usage: ./install ' && exit 1 + +archinstall \ + --config user_configuration.json \ + --disk-layout user_disk_layout.json \ + --creds user_credentials.json