Some people might need extra steps on 24.10.1 if they’re getting permission denied / read-only errors, this solved it for someone on Discord so figured it could help people here
systemd-sysext unmerge
install-dev-tools
apt install dkms devscripts debhelper dh-dkms -y
git clone https://github.com/google/gasket-driver
cd gasket-driver
debuild -us -uc -tc -b -d
cd ..
dpkg -i gasket-dkms_1.0-18_all.deb
systemd-sysext merge
# if everything was successful
reboot