Commit Graph

375 Commits

Author SHA1 Message Date
Tom Alexander
310837ddb3
Use statically-generated mac addresses. 2023-04-27 17:05:33 -04:00
Tom Alexander
e43fa0eab3
Destroy the bhyve vm after exit. 2023-04-27 17:05:32 -04:00
Tom Alexander
3dd710eab6
Start of a script for managing bhyve virtual machines. 2023-04-27 17:05:32 -04:00
Tom Alexander
9fcc955d13
Starting to write my own script to manage bhyve VMs.
vm-bhyve isn't going to allow me enough control to detect open netgraph hooks on bridges so I will manage the virtual machines myself.
2023-04-27 17:05:32 -04:00
Tom Alexander
0939203377
Switch to kea dhcp server for jail network. 2023-04-27 17:05:32 -04:00
Tom Alexander
ba7567ad9c
Switch to using a script to dynamically spin up the netgraph bridge for jails. 2023-04-27 17:05:32 -04:00
Tom Alexander
be2e0c964b
Install rust-coreutils. 2023-04-27 17:05:32 -04:00
Tom Alexander
93baeb9a98
Update gpg_auth for new path to socket. 2023-04-20 22:22:22 -04:00
Tom Alexander
d8e3e61286
Disable vscode install on FreeBSD and add new wireguard tunnels to firewall config. 2023-04-20 22:11:42 -04:00
Tom Alexander
ac57760a53
Ignore errors when setting default sound unit. 2023-04-20 22:02:17 -04:00
Tom Alexander
598ab24b84
Switch to opstunnel for drmario laptop config. 2023-04-20 21:48:58 -04:00
Tom Alexander
9c415041e4
Update to FreeBSD 13.2 sshd_config. 2023-04-20 21:43:13 -04:00
Tom Alexander
a3bedc22d4
Add the colo wireguard tunnel. 2023-04-20 21:42:53 -04:00
Tom Alexander
d820feea0c
Switch to using packages for rust-analyzer. 2023-04-19 00:48:33 -04:00
Tom Alexander
7d50c860d5
Add drmario to /etc/hosts. 2023-04-18 20:02:31 -04:00
Tom Alexander
d2df8a0d5d
Add the drmario wireguard config. 2023-04-18 16:44:14 -04:00
Tom Alexander
493da63d26
Disable ligatures in cascadia code. 2023-04-17 01:17:38 -04:00
Tom Alexander
87f31e9c85
Update rust version. 2023-04-14 18:04:49 -04:00
Tom Alexander
4dba716b3e
Switch to using dkms zfs package. 2023-04-14 17:48:40 -04:00
Tom Alexander
ac914b7ff0
Update to FreeBSD 13.2. 2023-04-12 14:08:40 -04:00
Tom Alexander
533d732059
Update mirrorlist. 2023-03-28 14:49:17 -04:00
Tom Alexander
58c97951ae
Install vscode for interactive debugging. 2023-03-27 16:05:55 -04:00
Tom Alexander
c596e275a9
Add docker role for Linux. 2023-03-25 16:08:13 -04:00
Tom Alexander
43ab2d4260
Fix launching kanshi on Linux. 2023-03-25 09:57:16 -04:00
Tom Alexander
5bfb148ac7
Fix permissions for dns over tls on Linux. 2023-03-25 09:33:07 -04:00
Tom Alexander
f1da60377e
Add cpu_set_perf_perc on Linux. 2023-03-25 09:21:43 -04:00
Tom Alexander
347ffaea12
Install rofimoji on Linux. 2023-03-25 09:06:54 -04:00
Tom Alexander
4e957fa959
Move the power role into the CPU role. 2023-03-23 16:33:47 -04:00
Tom Alexander
977e382726
Change the power role to just setting the energy performance preference (epp). 2023-03-23 16:09:37 -04:00
Tom Alexander
dd8c2ff937
Configure vm.laptop_mode and vm.dirty_writeback_centisecs. 2023-03-23 14:45:33 -04:00
Tom Alexander
0340d2fd51
starting to switch to tlp. 2023-03-23 14:45:33 -04:00
Tom Alexander
9094203c5b
Add power management for linux. 2023-03-23 14:45:30 -04:00
Tom Alexander
7a577fde22
Launch sway with consolekit2 on FreeBSD. 2023-03-23 13:31:56 -04:00
Tom Alexander
dfc3bfdc69
Install mixertui on FreeBSD. 2023-03-23 12:24:24 -04:00
Tom Alexander
8f84ea9adf
Install vulkan-tools on FreeBSD. 2023-03-22 18:05:33 -04:00
Tom Alexander
bf49396f8d
Enable vulkan for sway on both FreeBSD and Linux. 2023-03-22 16:51:38 -04:00
Tom Alexander
ee1899cf4d
Switch to 8 levels of vertical bar for battery icon. 2023-03-18 18:29:06 -04:00
Tom Alexander
11b9a08635
Add expect for aurutils. 2023-03-18 13:40:43 -04:00
Tom Alexander
83f0aba2b7
Trying out some new icons for waybar. 2023-03-17 12:53:30 -04:00
Tom Alexander
1b0908c73f
Add btop to both FreeBSD and Linux. 2023-03-16 19:10:05 -04:00
Tom Alexander
02568d77d9
Remove Linux sysctls that are getting overwritten.
This removes the settings for vm.dirty_writeback_centisecs and vm.laptop_mode because they are getting overwritten, which makes the task always report yellow. I suspect that TLP is overwriting them but I have not confirmed.
2023-03-14 15:58:57 -04:00
Tom Alexander
b0f98f1fdb
Do not needlessly update pacman cache in fonts role.
This was causing an always-yellow step.
2023-03-14 15:53:05 -04:00
Tom Alexander
572c46e9e2
Switch to standard unicode symbols for battery and lockscreen inhibitor. 2023-03-08 09:40:27 -05:00
Tom Alexander
f950eaf772
Add gmake to FreeBSD. 2023-03-07 09:57:51 -05:00
Tom Alexander
85e79844b7
Add pyenv to FreeBSD. 2023-03-06 15:44:33 -05:00
Tom Alexander
32cf355a0b
Add pyenv to Linux. 2023-03-06 12:44:39 -05:00
Tom Alexander
042e0300fa
Add igt-gpu-tools to FreeBSD.
I was hoping this would have intel_gpu_top but it does not. Hopefully intel_gpu_time does what I need.
2023-03-05 13:30:15 -05:00
Tom Alexander
69df12a384
Add xhost to FreeBSD. 2023-03-05 13:29:41 -05:00
Tom Alexander
14d80f5075
Increase zfs transaction timeout.
The goal here is to improve battery life by not waking up the CPU as often, but until I get the touchpad interrupt issue resolved, the difference won't be noticeable.
2023-03-05 09:28:35 -05:00
Tom Alexander
7630ac349c
Add v4l for browser support of webcams. 2023-03-04 15:21:08 -05:00
Tom Alexander
1f7f4fff1e
Add webcamd for FreeBSD. 2023-03-04 15:09:32 -05:00
Tom Alexander
262e1a5782
Move the FreeBSD LaTeX install to the latex role. 2023-03-04 14:09:45 -05:00
Tom Alexander
751bbe31e9
Add pkg-provides to FreeBSD. 2023-03-04 14:08:03 -05:00
Tom Alexander
904b12ad7e
Add notes about battery sysctls. 2023-03-04 10:03:20 -05:00
Tom Alexander
c208c0748d
Do not needlessly update pacman cache in build role.
This was causing an always-yellow step.
2023-03-04 08:46:48 -05:00
Tom Alexander
cce1a0ca46
Linux needs zrepl's config in a different location. 2023-03-04 08:42:53 -05:00
Tom Alexander
3c72b7c5ee
Add man to Linux. 2023-03-03 17:30:56 -05:00
Tom Alexander
e123c1f228
Add a ZFS role for Linux. 2023-03-03 17:30:00 -05:00
Tom Alexander
ea82dc0f35
Stop using self-hosted ffsync server.
This should be a temporary change while I transition to self-hosting kubernetes.
2023-03-02 10:08:41 -05:00
Tom Alexander
459e9b68cf
Add archzfs repo. 2023-03-01 10:31:15 -05:00
Tom Alexander
512fb57924
Add LaTeX for Linux. 2023-02-25 18:26:32 -05:00
Tom Alexander
73ce98a492
Add gpg_auth to Linux. 2023-02-25 18:16:34 -05:00
Tom Alexander
aeec8b750f
Disable FreeBSD android role and add Linux android role. 2023-02-18 14:49:00 -05:00
Tom Alexander
ef20733077
WIP does not seem to mount phone. 2023-02-18 13:42:39 -05:00
Tom Alexander
e35f622a0d
Enable bluetooth in linux. 2023-02-18 12:19:58 -05:00
Tom Alexander
b4735a6daf
Start a bluetooth role. 2023-02-18 12:15:44 -05:00
Tom Alexander
c0185207f2
Add pipewire to linux. 2023-02-18 11:39:31 -05:00
Tom Alexander
a808f81e27
Add sway for linux. 2023-02-01 23:14:20 -05:00
Tom Alexander
8bd1c8f79e
Install nvme-cli in both. 2023-01-28 01:20:42 -05:00
Tom Alexander
8955c32e43
Add a role for nvme. 2023-01-24 00:08:00 -05:00
Tom Alexander
3734f2126c
Update firewall for unifi controller virtual machine. 2023-01-24 00:01:10 -05:00
Tom Alexander
8b25b3397f
Configure iwd and networkd on linux.
I am no longer doing the bonded device because it was more trouble than it was worth.
2023-01-16 15:28:18 -05:00
Tom Alexander
6d12a81dae
Disable local unbound on the homeserver.
Local unbound has done nothing but cause network issues and overwrite system files.
2022-12-25 13:25:34 -05:00
Tom Alexander
a05f4bfd50
Add a comment about priority in the vm-bhyve template. 2022-12-15 18:32:38 -05:00
Tom Alexander
82b2b9f58d
Fix bug in temporary file deletion script. 2022-12-15 18:29:21 -05:00
Tom Alexander
558c71219b
Add DNS over TLS. 2022-12-15 17:35:11 -05:00
Tom Alexander
e9e772f4fa
Fix creating the connection plugins directory on linux. 2022-12-10 22:39:11 -05:00
Tom Alexander
7f79cc46d4
Use 16 jobs for poudriere to speed it up because waiting on ansible is annoying. 2022-12-10 20:37:12 -05:00
Tom Alexander
1c178a5ea0
Remove useless flags. 2022-12-10 20:26:32 -05:00
Tom Alexander
4ace8671d0
Creating the jails. 2022-12-10 20:19:45 -05:00
Tom Alexander
3de4132dae
The bulk directory needs to exist. 2022-12-10 19:06:34 -05:00
Tom Alexander
1039422052
Fix the script syntax by adding in an echo. 2022-12-10 19:02:50 -05:00
Tom Alexander
7915b92345
Add check that poudriere is not already running. 2022-12-10 19:01:14 -05:00
Tom Alexander
9599cfb577
Add script to actually run the build. 2022-12-10 18:58:09 -05:00
Tom Alexander
9be646f943
Starting a poudboot rc service for building when the poudriere vm launches. 2022-12-10 18:42:02 -05:00
Tom Alexander
60c4d66f1c
Set up the ports tree in poudriere. 2022-12-10 18:25:33 -05:00
Tom Alexander
a67aa176df
Switch to official FreeBSD ports git repo. 2022-12-10 18:21:52 -05:00
Tom Alexander
8c8bf93d4c
Add poudriere config. 2022-12-10 18:13:42 -05:00
Tom Alexander
5016144047
Add sample poudriere conf. 2022-12-10 18:00:10 -05:00
Tom Alexander
8e412456d2
Add notes to the bhyve template. 2022-12-10 17:43:44 -05:00
Tom Alexander
85d9b4a569
Fix sending dns servers in dhcp response. 2022-12-10 17:19:13 -05:00
Tom Alexander
2fdb47e1a1
Starting the poudriere role. 2022-12-10 16:33:45 -05:00
Tom Alexander
7de6bc9231
Add a role for portshaker. 2022-12-10 15:29:19 -05:00
Tom Alexander
5675f317dd
Add homeserver to hosts. 2022-12-04 03:09:44 -05:00
Tom Alexander
190bd0527c
Add homeserver wireguard config. 2022-12-04 02:37:20 -05:00
Tom Alexander
694ea4665e
Add a hosts role to set /etc/hosts. 2022-12-04 02:28:25 -05:00
Tom Alexander
4b4dca9a49
Allow the wireguard interfaces. 2022-12-04 02:12:10 -05:00
Tom Alexander
0598d33eb2
Start a sound role. 2022-12-03 18:38:23 -05:00
Tom Alexander
e32c2b1f6b
cleanup 2022-12-03 17:22:53 -05:00
Tom Alexander
b5ffd1e44d
Add wireguard configs for odo. 2022-12-03 17:20:38 -05:00
Tom Alexander
83f8b2509b
Start a wireguard role. 2022-12-03 17:16:37 -05:00
Tom Alexander
d3c1905847
Add an ansible role to install the sshjail plugin. 2022-12-02 22:26:51 -05:00
Tom Alexander
dac4734a80
Move the nat_dhcp jail to an unencrypted dataset so it can be available at boot. 2022-12-02 22:13:32 -05:00
Tom Alexander
aa6f63c141
Add the config for the nat_dhcp jail. 2022-12-02 20:45:53 -05:00
Tom Alexander
26354d1a86
Start a jail_nat_dhcp role for the nat_dhcp jail. 2022-12-02 20:39:52 -05:00
Tom Alexander
d4e9caad67
Add a jail that will serve dhcp for clients connecting to the open nat bridge. 2022-12-02 20:11:50 -05:00
Tom Alexander
29e66c4e04
Add a script to view netgraph's graphviz output. 2022-12-02 19:21:13 -05:00
Tom Alexander
fc8694c886
Add an sshfs role. 2022-12-02 18:52:30 -05:00
Tom Alexander
17fb38949e
Unify devd file installation style. 2022-12-02 17:28:32 -05:00
Tom Alexander
9f0e143468
Fix autofs mounting. 2022-12-02 01:19:16 -05:00
Tom Alexander
cae5ecdfd2
Add google cloud sdk role. 2022-12-02 00:22:49 -05:00
Tom Alexander
d2b6c627ae
Remove hibernate on FreeBSD. 2022-12-02 00:09:33 -05:00
Tom Alexander
80083ff0cc
Add the kubernetes role. 2022-12-01 23:38:21 -05:00
Tom Alexander
3637dcdfcc
Remove wlsunset because it causes wild rainbow distortions. 2022-12-01 22:55:20 -05:00
Tom Alexander
8ff5d91149
Custom wlogout layout to support custom lock setting. 2022-11-29 03:40:39 -05:00
Tom Alexander
66d8981e0c
Remove lumina-fm. 2022-11-29 03:12:35 -05:00
Tom Alexander
971e4b54ec
Add wlogout and wlsunset. 2022-11-29 03:03:18 -05:00
Tom Alexander
64ed4c42b9
Make /var/run a ram mount. 2022-11-29 02:33:11 -05:00
Tom Alexander
d6c2e72009
Enable and disable notifications during screen casting. 2022-11-29 01:48:42 -05:00
Tom Alexander
7039857b95
Make the indicator update nearly immediately from sway keybindings being pressed. 2022-11-29 00:57:16 -05:00
Tom Alexander
8ea4ca15d8
Add an indicator to FreeBSD for when recording is active. 2022-11-29 00:15:48 -05:00
Tom Alexander
019b4184ce
Make the hotkey to end screen recording work on FreeBSD. 2022-11-28 23:18:46 -05:00
Tom Alexander
8ce926be8e
Don't error out when the sound unit does not exist. 2022-11-28 23:05:46 -05:00
Tom Alexander
178522c2af
Add swaylock. 2022-11-28 23:05:46 -05:00
Tom Alexander
84e189f50d
The framework display has a different name under FreeBSD so include them both. 2022-11-28 22:36:44 -05:00
Tom Alexander
1c41d23474
Add a media role for image/video viewers/editors. 2022-11-26 19:01:27 -05:00
Tom Alexander
ef6a89042f
Add a waybar script for reading temperature in Linux. 2022-11-25 19:30:22 -05:00
Tom Alexander
b1b2972997
Sort the CPU temperatures for the tooltip. 2022-11-25 19:07:10 -05:00
Tom Alexander
5ea7ef1840
Put a background on the tooltip.
This was provided by default in waybar but since I had to wipe out existing CSS to work around display issues in the latest release, I've had to add the background color to the tooltip back in manually.
2022-11-25 19:01:13 -05:00
Tom Alexander
b10459e80f
Enable wayland for firefox in FreeBSD. 2022-11-25 17:23:14 -05:00
Tom Alexander
a339347d0d
Launch sway with a dbus session.
Otherwise mako will fail to dismiss notifications because it fails to connect to dbus.
2022-11-25 17:07:07 -05:00
Tom Alexander
d46e89336a
Minor cleanup in css. 2022-11-25 16:07:35 -05:00
Tom Alexander
a702833aa4
Add kanshi for both FreeBSD and Linux. 2022-11-25 15:59:18 -05:00
Tom Alexander
7c6c81711b
Move waybar into its own role that sway depends on. 2022-11-25 15:36:39 -05:00
Tom Alexander
2222c9d033
Switch to an explicit install_graphics variable rather than using graphics_driver to control all graphics install. 2022-11-25 15:29:29 -05:00
Tom Alexander
11ef6647f1
Use latest packages on FreeBSD. 2022-11-25 15:13:08 -05:00
Tom Alexander
46672786ab
Add temperature to waybar in FreeBSD. 2022-11-25 14:59:49 -05:00
Tom Alexander
0bf29aba6f
Move waybar scripts into their own folder. 2022-11-25 14:38:38 -05:00
Tom Alexander
b8deffaf7d
Auto-launch gpg when launching sway on my laptop. 2022-11-24 13:57:00 -05:00
Tom Alexander
cf514f4b58
Add support for setting the default sound card on FreeBSD. 2022-11-24 13:41:44 -05:00
Tom Alexander
572067b0cc
Fix comment. 2022-11-16 21:30:55 -05:00
Tom Alexander
1ae5212241
Fix waybar sound script on linux when muted. 2022-11-16 21:30:06 -05:00
Tom Alexander
f3edf7d8c1
Add work-around for waybar issues introduced in 0.9.15. 2022-11-15 21:43:58 -05:00
Tom Alexander
11d539ec77
Add support for time remaining to battery when charging in linux. 2022-11-14 22:35:53 -05:00
Tom Alexander
f7599e9564
Change the linux battery script to be triggered by changes in battery state via upower. 2022-11-14 22:22:43 -05:00
Tom Alexander
161b7c1354
Add sound to waybar on linux. 2022-11-14 21:23:52 -05:00
Tom Alexander
d8049e932d
Add sound to waybar on FreeBSD. 2022-11-13 16:39:34 -05:00
Tom Alexander
0a49fc16b6
Make canmount configurable for bhyve and jails. 2022-11-12 17:08:47 -05:00
Tom Alexander
a2a7da0d9b
Start a disk labels loader config.
Don't have it working the way I want to yet, so its commented out.
2022-11-12 16:38:14 -05:00
Tom Alexander
3dd96dcc2c
Add forwarding for port 8081 to the jail. 2022-11-12 15:11:15 -05:00