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 # Finnish identity cards https://dvv.fi/en/card-reader-software
# Requires `sudo systemctl enable --now pcscd` (one time operation) # 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. # NetworkManager Applet.
# Note: handle WiFi with iwd directly. Use this for ethernet or just 3G. # 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 # Mullvad GUI/tray
#exec --no-startup-id sh -c "/opt/Mullvad\ VPN/mullvad-gui" #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 #exec --no-startup-id fcitx
# KDE Connect daemon on Fedora # 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 # Google Drive etc. sync client
exec --no-startup-id insync start exec --no-startup-id sleep 15 && insync start
# NextCloud client # 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 # 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 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 exec --no-startup-id flatpak run com.rafaelmardojai.Blanket
# Syncthing GUI # 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 # 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 # Increasing caching
# NOTE AT LEAST CACHE-MIN-TTL IF NOTHING ELSE!
# This has potential to increase memory usage to 110m under heavy usage, but # 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 # I find that unlikely as almost everything is using so short TTLs
# See also MEMORY CONTROL EXAMPLE in man unbound.conf # See also MEMORY CONTROL EXAMPLE in man unbound.conf
@ -12,13 +15,16 @@ server:
neg-cache-size: 10m neg-cache-size: 10m
# Increases TTL of all queries to 900 seconds (5 minutes) if upstream has # 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. # a lower one. I have been using this since August 2019 without issues.
# TODO FIXME
#cache-min-ttl: 900 #cache-min-ttl: 900
# https://blog.apnic.net/2019/11/12/stop-using-ridiculously-low-dns-ttls/ # 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, # dares setting the minimum cache to something between 40 minute and 60,
# so how about 50 minutes? However it predates RFC 8767. # so how about 50 minutes? However it predates RFC 8767.
# TODO FIXME
#cache-min-ttl: 3000 #cache-min-ttl: 3000
# Why not just make it hour directly, while that is considered as a # Why not just make it hour directly, while that is considered as a
# maximum reasonableish value? # maximum reasonableish value?
# TODO FIXME
cache-min-ttl: 3600 cache-min-ttl: 3600
# Update cache for popular items before they expire. ~10 % traffic # Update cache for popular items before they expire. ~10 % traffic
# increase according to `man unbound.conf` # increase according to `man unbound.conf`
@ -38,8 +44,7 @@ server:
# However my /etc/resolv.conf timeout is 1 second since all my nameservers # However my /etc/resolv.conf timeout is 1 second since all my nameservers
# are localhost, so let's wait 0.8 seconds instead. # are localhost, so let's wait 0.8 seconds instead.
serve-expired-client-timeout: 800 serve-expired-client-timeout: 800
# DNSSEC errors for valid and expired records # DNSSEC errors for expired records
ede: yes
ede-serve-expired: yes ede-serve-expired: yes
# vim: filetype=unbound.conf # vim: filetype=unbound.conf

View File

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