# Setup daily reboots, so all unattended upgrades go into affect
# unattended upgrades happen at 6 am + rand(60 min).
echo '20 7 * * * root /usr/local/bin/zelous-unattended-reboot' | s dd of=/etc/cron.d/unattended-upgrade-reboot
-case $(debian-codename) in
- flidas)
- if [[ ! -e /usr/local/bin/checkrestart ]]; then
- ;;
-esac
##### end automatic upgrades ####
# office is not exposed to internet yet
guix package --install guile
fi
-# install rust
+# install rust.
curl https://sh.rustup.rs -sSf | bash -s -- -y
-cargo install ripgrep
+# todo: update this. updates in rust are stupidly complicate
+if ! which rg &>/dev/null; then
+ cargo install ripgrep
+fi
#### tor
case $distro in