draft: archlinux-install-from-zero-to-hero
This commit is contained in:
		
							parent
							
								
									6b68e62ae9
								
							
						
					
					
						commit
						023bedf0e5
					
				
					 1 changed files with 58 additions and 12 deletions
				
			
		|  | @ -118,18 +118,15 @@ reboot | ||||||
| 
 | 
 | ||||||
| # Login as root | # Login as root | ||||||
| 
 | 
 | ||||||
| # Setup IWD to use it's own DHCP | # Setup systemd-resolved | ||||||
| cat >/etc/iwd/main.con <<EOL | ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf | ||||||
| [General] |  | ||||||
| EnableNetworkConfiguration=true |  | ||||||
| 
 | 
 | ||||||
| [Network] | # Install and start netowrk manager | ||||||
| NameResolvingService=systemd | pacman -S networkmanager | ||||||
| EOL | systemctl enable --now NetworkManager | ||||||
| 
 | 
 | ||||||
| # Setup your wireless network | # Connect to wifi | ||||||
| iwctl station wlan0 connect <BSSID> | nmcli d wifi connntect <ssid> password <pass> | ||||||
| echo 'AutoConnect=true' >> /var/lib/iwd/<BSSID>.pks |  | ||||||
| 
 | 
 | ||||||
| # Start and enable iwd and systemd-resolved services | # Start and enable iwd and systemd-resolved services | ||||||
| systemctl enable --now iwd | systemctl enable --now iwd | ||||||
|  | @ -157,13 +154,62 @@ vim /etc/systemd/sleep.conf | ||||||
| - [ ] Docked toggle | - [ ] Docked toggle | ||||||
| - [ ] VConsole auto lock? | - [ ] VConsole auto lock? | ||||||
|     - [ ] IDLE toggle in VConsole? |     - [ ] IDLE toggle in VConsole? | ||||||
| - [ ] Bluetooth |  | ||||||
| - [ ] Audio |  | ||||||
| - [ ] Hardware acceleration | - [ ] Hardware acceleration | ||||||
| 
 | 
 | ||||||
|  | ## Hardware acceleration | ||||||
|  | 
 | ||||||
|  | ``` | ||||||
|  | pacman -S vulkan-intel | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
|  | ## Power | ||||||
|  | 
 | ||||||
|  | ``` | ||||||
|  | pacman -S tlp | ||||||
|  | 
 | ||||||
|  | # Edit tlp configuration link power to prevent corruption on btrfs devices | ||||||
|  | # /etc/tlp.conf | ||||||
|  | # ... | ||||||
|  | SATA_LINKPWR_ON_BAT=max_performance | ||||||
|  | # ... | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
|  | # Enable and start tlp | ||||||
|  | systemctl enable --now tlp | ||||||
|  | 
 | ||||||
|  | ## Audio | ||||||
|  | 
 | ||||||
|  | pacman -S alsa-utils pulseaudio pulseaudio-alsa pavucontrol | ||||||
|  | systemctl start --user pulseaudio.socket | ||||||
|  | 
 | ||||||
|  | ## Bluetooth | ||||||
|  | 
 | ||||||
|  | ``` | ||||||
|  | pacman -S bluez bluez-utils | ||||||
|  | modprobe btusb | ||||||
|  | systemctl enable --now bluetooth | ||||||
|  | bluetoothctl -- power on | ||||||
|  | ``` | ||||||
|  | ## Brightness control | ||||||
|  | 
 | ||||||
|  | ``` | ||||||
|  | pacman -S brightnessctl | ||||||
|  | ``` | ||||||
|  | ## Fonts | ||||||
|  | 
 | ||||||
|  | ``` | ||||||
|  | pacman -S otf-ipafont # Japanese | ||||||
|  | pacman -S ttf-bitstream-vera # Default  | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
| ## Userspace | ## Userspace | ||||||
| 
 | 
 | ||||||
|  | Enable multilib repos to install steam | ||||||
|  | 
 | ||||||
| ``` | ``` | ||||||
| useradd fmartingr | useradd fmartingr | ||||||
| pacman -S sway dmenu xorg-xwayland alacritty qutebrowser | pacman -S sway dmenu xorg-xwayland alacritty qutebrowser | ||||||
|  | pacman -S mako # notifications | ||||||
|  | # TODO notification history? | ||||||
|  | 
 | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue