Fully functional DustArch; TODO: Add documentation for DustArch archiso creation process

This commit is contained in:
David Holland 2019-11-06 02:49:43 +01:00
parent f2a73e29e4
commit 7aea47738c
Signed by: DustVoice
GPG Key ID: 47068995A14EDCA9
3 changed files with 23 additions and 9 deletions

View File

@ -524,7 +524,7 @@ After that we are going to create a new user, set the password for this user, ma
[source, console]
----
[root@archiso /]# useradd -mg users -G wheel,storage,power dustvoice
[root@archiso /]# useradd -m -p "" -g users -G "adm,audio,floppy,log,network,rfkill,scanner,storage,optical,power,wheel" -s /usr/bin/fish dustvoice
[root@archiso /]# passwd dustvoice
[root@archiso /]# pacman -S sudo
----

@ -1 +1 @@
Subproject commit 617c820d8a898213d697a7a2d71e2e9d8cc31836
Subproject commit 579286d2a8fcf22344a99ded2760e2c79dc7aca9

View File

@ -27,14 +27,22 @@ sed -i 's/#\(HandleSuspendKey=\)suspend/\1ignore/' /etc/systemd/logind.conf
sed -i 's/#\(HandleHibernateKey=\)hibernate/\1ignore/' /etc/systemd/logind.conf
sed -i 's/#\(HandleLidSwitch=\)suspend/\1ignore/' /etc/systemd/logind.conf
pip3 install neovim
pip3 install pygments
gem install asciidoctor --pre
gem install asciidoctor-pdf --pre
gem install asciidoctor-epub3 --pre
gem install pygments.rb --pre
nvim --headless +PlugInstall +qa
python3 ~/.config/nvim/plugged/YouCompleteMe/install.py --clang-completer
! id dustvoice && useradd -m -p "" -g users -G "adm,audio,floppy,log,network,rfkill,scanner,storage,optical,power,wheel" -s /usr/bin/fish dustvoice
echo 'dustvoice ALL=(ALL) ALL' >> /etc/sudoers
chown -R dustvoice:users /home/dustvoice
sudo -u dustvoice gem install asciidoctor --pre
sudo -u dustvoice gem install asciidoctor-pdf --pre
sudo -u dustvoice gem install asciidoctor-epub3 --pre
sudo -u dustvoice gem install pygments.rb --pre
sudo -u dustvoice nvim --headless +PlugInstall +qa
sudo -u dustvoice python3 /home/dustvoice/.config/nvim/plugged/YouCompleteMe/install.py --clang-completer
sudo -u dustvoice gpg-connect-agent updatestartuptty /bye
systemctl enable pacman-init.service choose-mirror.service
systemctl set-default multi-user.target
@ -45,4 +53,10 @@ systemctl start dhcpcd.service
systemctl enable pcscd
systemctl start pcscd
gpg-connect-agent updatestartuptty /bye
echo ""
echo "Please set a password for the [root] user:"
until passwd; do echo "Try again, or Ctrl-c within 5 seconds!"; sleep 5; done
echo ""
echo "Please set a password for the [dustvoice] user:"
until passwd dustvoice; do echo "Try again, or Ctrl-c within 5 seconds!"; sleep 5; done