aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/loader.conf26
-rw-r--r--system/rc.conf40
-rw-r--r--system/sysctl.conf15
3 files changed, 81 insertions, 0 deletions
diff --git a/system/loader.conf b/system/loader.conf
new file mode 100644
index 0000000..22f6c3b
--- /dev/null
+++ b/system/loader.conf
@@ -0,0 +1,26 @@
+aesni_load="YES"
+geom_eli_load="YES"
+kern.geom.label.disk_ident.enable="0"
+kern.geom.label.gptid.enable="0"
+cryptodev_load="YES"
+zfs_load="YES"
+
+# CPU
+cpu_microcode_load="YES"
+cpu_microcode_name="/boot/firmware/amd-ucode.bin"
+
+# Enable multimedia keys
+hw.usb.usbhid.enable=1
+
+# Enable querying CPU information and temperature.
+cpuctl_load="YES"
+amdtemp_load="YES"
+
+# For getting brightness keys working on my AMD P14s
+acpi_video_load="YES"
+
+# For getting multimedia keys working on my AMD P14s
+acpi_ibm_load="YES"
+
+# Power Management / Power off devices without attached driver
+# hw.pci.do_power_nodriver=3
diff --git a/system/rc.conf b/system/rc.conf
new file mode 100644
index 0000000..a7f15c2
--- /dev/null
+++ b/system/rc.conf
@@ -0,0 +1,40 @@
+hostname="justine-laptop"
+ifconfig_re1="DHCP"
+sshd_enable="NO"
+
+# Enable NTP Daemon and sync on start
+ntpd_enable="YES"
+ntpd_sync_on_start=YES
+
+moused_nondefault_enable="NO"
+
+# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
+dumpdev="AUTO"
+
+zfs_enable="YES"
+cupsd_enable="YES"
+dbus_enable="YES"
+seatd_enable="YES"
+
+# CPU
+microcode_update_enable="YES"
+
+# OTHER
+keyrate=fast
+
+avahi_daemon_enable="YES"
+avahi_dnsconfd_enable="YES"
+
+## MODULES
+
+# VIDEO
+kld_list="${kld_list} amdgpu"
+
+# Filesystems
+kld_list="${kld_list} ext2fs"
+
+# Webcam
+webcamd_enable="YES"
+kld_list="${kld_list} cuse"
+webcamd_0_flags="-d ugen2.7"
+
diff --git a/system/sysctl.conf b/system/sysctl.conf
new file mode 100644
index 0000000..878afc7
--- /dev/null
+++ b/system/sysctl.conf
@@ -0,0 +1,15 @@
+#
+# This file is read when going to multi-user and its contents piped thru
+# ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details.
+#
+
+# Uncomment this to prevent users from seeing information about processes that
+# are being run under another UID.
+#security.bsd.see_other_uids=0
+vfs.zfs.min_auto_ashift=12
+
+# Allow FreeBSD users to mount CDROMs / DVDs / USB devices
+vfs.usermount=1
+
+# Set Focusrite Scarlett 2i2 Gen 3 as default sound device
+hw.snd.default_unit=5