Last active
September 13, 2023 11:30
-
-
Save scaronni/5a933f1dc467d7ea23f18c93353e942b to your computer and use it in GitHub Desktop.
FreeBSD desktop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Silent boot | |
| sysrc -f /boot/loader.conf autoboot_delay=2 | |
| sysrc -f /boot/loader.conf boot_mute=YES | |
| sysrc -f /boot/loader.conf beastie_disable=YES | |
| sysrc rc_startmsgs=NO | |
| # FreeBSD updates | |
| freebsd fetch | |
| freebsd install | |
| # Wifi | |
| sysrc wlans_iwm0="wlan0" | |
| sysrc ifconfig_wlan0="WPA DHCP" | |
| echo >> /etc/wpa_supplicant.conf < EOF | |
| network={ | |
| ssid="<network_name>" | |
| key_mgmg="WPA-PSK" | |
| psk="<password>" | |
| } | |
| EOF | |
| reboot | |
| pkg install iwmbt-firmware | |
| # Gnome desktop + GDM + video acceleration (VA-API) | |
| pkg install drm-kmod gnome seatd sourcecodepro-ttf | |
| pkg install glx-utils vulkan-tools libva-utils libva-intel-driver | |
| pkg install gstreamer1-vaapi gstreamer1-plugins-all | |
| sysrc kld_list="i915kms" | |
| sysrc dbus_enable="YES" | |
| sysrc seatd_enable=”YES” | |
| sysrc webcamd_enable="YES" | |
| sysrc gdm_enable="YES" | |
| pw groupmod -m webcamd slaanesh | |
| pw groupmod -m video slaanesh | |
| pw groupmod -m video gdm | |
| echo "proc /proc procfs rw 0 0" > /etc/fstab | |
| mount /proc | |
| reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment