Compare commits

..

3 Commits

4 changed files with 19 additions and 11 deletions

View File

@ -1,3 +1,3 @@
# Finnish identity cards https://dvv.fi/en/card-reader-software
# Requires `sudo systemctl enable --now pcscd` (one time operation)
exec --no-startup-id DigiSignApplication
exec --no-startup-id sleep 15 && DigiSignApplication

View File

@ -18,7 +18,7 @@ exec --no-startup-id foot --title=htop htop
# NetworkManager Applet.
# Note: handle WiFi with iwd directly. Use this for ethernet or just 3G.
#exec --no-startup-id nm-applet --indicator
#exec --no-startup-id sleep 15 && nm-applet --indicator
# Mullvad GUI/tray
#exec --no-startup-id sh -c "/opt/Mullvad\ VPN/mullvad-gui"
@ -32,13 +32,13 @@ exec --no-startup-id foot --title=htop htop
#exec --no-startup-id fcitx
# KDE Connect daemon on Fedora
#exec --no-startup-id /usr/libexec/kdeconnectd
#exec --no-startup-id sleep 15 && /usr/libexec/kdeconnectd
# Google Drive etc. sync client
exec --no-startup-id insync start
exec --no-startup-id sleep 15 && insync start
# NextCloud client
#exec --no-startup-id nextcloud --background
#exec --no-startup-id sleep 15 && nextcloud --background
# Artificial sleep here seems necessary workaround to avoid https://github.com/flathub/com.nextcloud.desktopclient.nextcloud/issues/76
exec --no-startup-id sleep 15 && flatpak run com.nextcloud.desktopclient.nextcloud --background
@ -49,7 +49,7 @@ exec --no-startup-id blueman-applet
exec --no-startup-id flatpak run com.rafaelmardojai.Blanket
# Syncthing GUI
exec --no-startup-id flatpak run me.kozec.syncthingtk --home ~/.config/syncthing --minimized
exec --no-startup-id sleep 15 && flatpak run me.kozec.syncthingtk --home ~/.config/syncthing --minimized
# Feedreader
exec --no-startup-id flatpak run net.sourceforge.liferea --mainwindow-state=hidden
exec --no-startup-id sleep 15 && flatpak run net.sourceforge.liferea --mainwindow-state=hidden

View File

@ -1,4 +1,7 @@
# Increasing caching
# NOTE AT LEAST CACHE-MIN-TTL IF NOTHING ELSE!
# This has potential to increase memory usage to 110m under heavy usage, but
# I find that unlikely as almost everything is using so short TTLs
# See also MEMORY CONTROL EXAMPLE in man unbound.conf
@ -12,13 +15,16 @@ server:
neg-cache-size: 10m
# Increases TTL of all queries to 900 seconds (5 minutes) if upstream has
# a lower one. I have been using this since August 2019 without issues.
# TODO FIXME
#cache-min-ttl: 900
# https://blog.apnic.net/2019/11/12/stop-using-ridiculously-low-dns-ttls/
# dares setting the minimum cache to something between 40 minute and 60,
# so how about 50 minutes? However it predates RFC 8767.
# TODO FIXME
#cache-min-ttl: 3000
# Why not just make it hour directly, while that is considered as a
# maximum reasonableish value?
# TODO FIXME
cache-min-ttl: 3600
# Update cache for popular items before they expire. ~10 % traffic
# increase according to `man unbound.conf`
@ -38,8 +44,7 @@ server:
# However my /etc/resolv.conf timeout is 1 second since all my nameservers
# are localhost, so let's wait 0.8 seconds instead.
serve-expired-client-timeout: 800
# DNSSEC errors for valid and expired records
ede: yes
# DNSSEC errors for expired records
ede-serve-expired: yes
# vim: filetype=unbound.conf

View File

@ -1,5 +1,7 @@
server:
use-syslog: yes
# DNSSEC errors for valid and expired records
ede: yes
#logfile: "/tmp/unbound.log"
# level 0 means no verbosity, only errors. Level 1 gives operational
# information. Level 2 gives detailed operational information. Level 3
@ -9,7 +11,8 @@ server:
# Gives validation EDEs more comprehensive human-readable errors
# https://blog.nlnetlabs.nl/extended-dns-error-support-for-unbound/
val-log-level: 2
# Print statistics to the log hourly
statistics-interval: 3600
# Print statistics to the log hourly or quaterly
#statistics-interval: 3600
statistics-interval: 900
# vim: filetype=unbound.conf