mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-08-09 15:05:07 +02:00
archlinux: Update install scripts
Instead of running two systemctl commands (start and enable), one can simply use `systemctl enable --now` instead. The grub command was removed since I never used it and haven't found a need to do so.
This commit is contained in:
@ -46,9 +46,6 @@ arch-chroot /mnt grub-install /dev/sda
|
||||
# Prevent the GRUB window from showing at boot, ideal for single OS machines (undo with chroot and mkconfig)
|
||||
sed -i '/GRUB_TIMEOUT/c\GRUB_TIMEOUT=0' /mnt/etc/default/grub
|
||||
|
||||
# This should make the startup process not output anything (not tested)
|
||||
sed -i '/GRUB_CMDLINE_LINUX_DEFAULT/c\GRUB_CMDLINE_LINUX_DEFAULT="quiet show_status=0 rd.udev.log-priority=3 loglevel=3"' /mnt/etc/default/grub
|
||||
|
||||
# Make the configuration file for grub.
|
||||
arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg
|
||||
|
||||
|
Reference in New Issue
Block a user