aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2026-01-24 17:10:19 +0000
committerJustine Smithies <justine@smithies.me.uk>2026-01-24 17:10:19 +0000
commitcc25054430221bf0875a2bae29cbf0076fe04128 (patch)
tree2f18e01e82833358a4055915acd39742018d2842 /system
parent1e369ea74b7893438d216713cb65f1d09d21879a (diff)
Initial commit
Diffstat (limited to 'system')
-rw-r--r--system/loader.conf26
-rw-r--r--system/rc.conf45
-rw-r--r--system/sysctl.conf18
3 files changed, 89 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..60faf69
--- /dev/null
+++ b/system/rc.conf
@@ -0,0 +1,45 @@
+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"
+
+# Power
+performance_cx_lowest=Cmax
+economy_cx_lowest=Cmax
+powerd_enable=YES
+powerd_flags="-n adaptive -a hiadaptive -b adaptive -N"
diff --git a/system/sysctl.conf b/system/sysctl.conf
new file mode 100644
index 0000000..189002f
--- /dev/null
+++ b/system/sysctl.conf
@@ -0,0 +1,18 @@
+#
+# 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.vdev.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
+
+# Stop core dumps
+kern.coredump=0