mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-08-16 09:47:54 +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:
@ -14,16 +14,12 @@ timedatectl set-ntp true
|
||||
# enable boot for it. Then, create a primary swap partition with
|
||||
# the remaining disk space.
|
||||
parted /dev/sda mklabel msdos
|
||||
|
||||
parted /dev/sda mkpart primary ext4 1MiB 60GiB
|
||||
|
||||
parted /dev/sda set 1 boot on
|
||||
|
||||
parted /dev/sda mkpart primary linux-swap 60GiB 100%
|
||||
|
||||
# Format sda1 with ext4 and sda2 with swap
|
||||
mkfs -t ext4 /dev/sda1
|
||||
|
||||
mkswap /dev/sda2
|
||||
|
||||
# Enable the swap partition
|
||||
|
Reference in New Issue
Block a user