add cpupower, nvme/uefi hints
This commit is contained in:
parent
fffa1ca067
commit
608243003e
1 changed files with 12 additions and 3 deletions
15
archxfce.sh
15
archxfce.sh
|
|
@ -59,7 +59,7 @@ ARCH_KM="us"
|
||||||
ARCH_VF="eurlatgr"
|
ARCH_VF="eurlatgr"
|
||||||
|
|
||||||
# grub mode ('bios' or 'uefi') and boot disk/partitions
|
# grub mode ('bios' or 'uefi') and boot disk/partitions
|
||||||
GRUB_MODE="bios"
|
GRUB_MODE="uefi"
|
||||||
GRUB_BIOS_DISK="/dev/sda"
|
GRUB_BIOS_DISK="/dev/sda"
|
||||||
GRUB_UEFI_PART="/dev/nvme0n1p1"
|
GRUB_UEFI_PART="/dev/nvme0n1p1"
|
||||||
|
|
||||||
|
|
@ -76,7 +76,7 @@ PKG_GVBOX="virtualbox-guest-utils"
|
||||||
PKG_HVBOX="virtualbox virtualbox-host-dkms"
|
PKG_HVBOX="virtualbox virtualbox-host-dkms"
|
||||||
|
|
||||||
# CLI stuff
|
# CLI stuff
|
||||||
PKG_CLI="acpi alsa-firmware android-udev base-devel bash-completion bc bind-tools chrony cpio cronie dhclient dmidecode ethtool gdisk git haveged horst iftop iw kexec-tools lshw lsof mailx mtr mutt net-tools nfs-utils nmap ntfs-3g openbsd-netcat openssh parted pkgstats pwgen pyalpm rclone rpcbind rsync screen sharutils strace stunnel sudo sysfsutils tcpdump traceroute tmux unrar unzip usb_modeswitch wget whois wireshark-cli zip zsh zsh-completions"
|
PKG_CLI="acpi alsa-firmware android-udev base-devel bash-completion bc bind-tools chrony cpio cpupower cronie dhclient dmidecode ethtool gdisk git haveged horst iftop iw kexec-tools lshw lsof mailx mtr mutt net-tools nfs-utils nmap ntfs-3g openbsd-netcat openssh parted pkgstats pwgen pyalpm rclone rpcbind rsync screen sharutils strace stunnel sudo sysfsutils tcpdump traceroute tmux unrar unzip usb_modeswitch wget whois wireshark-cli zip zsh zsh-completions"
|
||||||
|
|
||||||
# X Desktop stuff
|
# X Desktop stuff
|
||||||
PKG_DWIN="accountsservice lightdm-gtk-greeter gnome-keyring gnome-themes-extra gst-libav gst-plugin-pipewire gst-plugins-good gst-plugins-bad gst-plugins-ugly networkmanager networkmanager-openconnect networkmanager-openvpn networkmanager-pptp networkmanager-vpnc network-manager-applet pipewire pipewire-alsa pipewire-pulse pipewire-v4l2 wireplumber xarchiver xdg-user-dirs xfce4 xfce4-goodies xreader"
|
PKG_DWIN="accountsservice lightdm-gtk-greeter gnome-keyring gnome-themes-extra gst-libav gst-plugin-pipewire gst-plugins-good gst-plugins-bad gst-plugins-ugly networkmanager networkmanager-openconnect networkmanager-openvpn networkmanager-pptp networkmanager-vpnc network-manager-applet pipewire pipewire-alsa pipewire-pulse pipewire-v4l2 wireplumber xarchiver xdg-user-dirs xfce4 xfce4-goodies xreader"
|
||||||
|
|
@ -104,9 +104,17 @@ AXCONF="/root/axconf.sh"
|
||||||
## These are typically done by hand based on partitioning, etc.
|
## These are typically done by hand based on partitioning, etc.
|
||||||
#
|
#
|
||||||
## Helpful Hints
|
## Helpful Hints
|
||||||
|
# 'mkfs.vfat -F 32 ...' (EFI System Partition)
|
||||||
# 'mkfs.ext4 -E lazy_itable_init=0,lazy_journal_init=0 ...'
|
# 'mkfs.ext4 -E lazy_itable_init=0,lazy_journal_init=0 ...'
|
||||||
# 'parted /dev/sda set 1 boot on'
|
# 'parted /dev/sda set 1 boot on'
|
||||||
#
|
#
|
||||||
|
## Example 16G RAM, 1TB drive laptop
|
||||||
|
# /dev/nvme0n1p1 EFI 1G vfat32
|
||||||
|
# /dev/nvme0n1p2 / 50G ext4
|
||||||
|
# /dev/nvme0n1p3 /home 430G LUKS+ext4
|
||||||
|
# /dev/nvme0n1p4 /srv 430G ext4
|
||||||
|
# /dev/nvme0n1p5 swap 20G hibernate
|
||||||
|
#
|
||||||
## Common
|
## Common
|
||||||
# swapon /dev/nvme0n1p5
|
# swapon /dev/nvme0n1p5
|
||||||
# mount /dev/nvme0n1p2 /mnt
|
# mount /dev/nvme0n1p2 /mnt
|
||||||
|
|
@ -512,9 +520,10 @@ _DTS=$(date)
|
||||||
logact echo -e "\n${_BAR}\n${_BAR}\n## Finished: ${_DTS}\n${_BAR}\n${_BAR}"
|
logact echo -e "\n${_BAR}\n${_BAR}\n## Finished: ${_DTS}\n${_BAR}\n${_BAR}"
|
||||||
|
|
||||||
logact echo -e "Typical next steps:\n"
|
logact echo -e "Typical next steps:\n"
|
||||||
logact echo "# alsamixer (change base levels to ~50%)"
|
logact echo "- replace cronie with fcron (laptop)"
|
||||||
logact echo "# vim /etc/chrony.conf to set offline mode (laptop)"
|
logact echo "# vim /etc/chrony.conf to set offline mode (laptop)"
|
||||||
logact echo "# vim /etc/mkinitcpio.conf (add resume hook for laptop)"
|
logact echo "# vim /etc/mkinitcpio.conf (add resume hook for laptop)"
|
||||||
|
logact echo "# vim /etc/default/grub (add resume=UUID=xx for laptop)"
|
||||||
logact echo "# vim /etc/fstab (add discard for SSD)"
|
logact echo "# vim /etc/fstab (add discard for SSD)"
|
||||||
logact echo "# systemctl enable fstrim.timer (SSD)"
|
logact echo "# systemctl enable fstrim.timer (SSD)"
|
||||||
logact echo "# systemctl enable cpupower.service (laptop)"
|
logact echo "# systemctl enable cpupower.service (laptop)"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue