mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-10-31 23:49:25 +01:00
Compare commits
11 Commits
a7bb2f5ec8
...
ab74e45a9f
Author | SHA1 | Date | |
---|---|---|---|
ab74e45a9f | |||
b9d8da4df4 | |||
bf1fdc4cff | |||
b1a0125674 | |||
57250d893d | |||
0d4c40ba16 | |||
73865c747d | |||
0bac3a8ab0 | |||
e88c2a8067 | |||
4d4dc026fd | |||
c6f999d2ef |
20
conf/sway/config.d/autostart-brave-pwa.conf
Normal file
20
conf/sway/config.d/autostart-brave-pwa.conf
Normal file
@ -0,0 +1,20 @@
|
||||
# Autostarting Progressive WebApps using Brave
|
||||
# App IDs are theoretically the same globally
|
||||
|
||||
# chat.pikaviestin.fi
|
||||
exec --no-startup-id sleep 15 && /usr/local/bin/brave --profile-directory=Default --app-id=gnfnegplbndhneeicgmmlacdcafhbloj --app-run-on-os-login-mode=windowed
|
||||
|
||||
# web.whatsapp.com
|
||||
exec --no-startup-id sleep 15 && /usr/local/bin/brave --profile-directory=Default --app-id=hnpfjngllnobngcgfapefoaidbinmjnm --app-run-on-os-login-mode=windowed
|
||||
|
||||
# latest.glowing-bear.org
|
||||
exec --no-startup-id sleep 15 && /usr/local/bin/brave --profile-directory=Default --app-id=copdfoibmmeogdkkhnckdgnngdchekmf --app-run-on-os-login-mode=windowed
|
||||
|
||||
# web.telegram.org/a
|
||||
exec --no-startup-id sleep 15 && /usr/local/bin/brave --profile-directory=Default --app-id=ibblmnobmgdmpoeblocemifbpglakpoi --app-run-on-os-login-mode=windowed
|
||||
|
||||
# ntfy.sh
|
||||
exec --no-startup-id sleep 15 && /usr/local/bin/brave --profile-directory=Default --app-id=cmgiilnmnfechkeifkepembegeckng --app-run-on-os-login-mode=windowed
|
||||
|
||||
# webchat.disroot.org
|
||||
exec --no-startup-id sleep 15 && /usr/local/bin/brave --profile-directory=Default --app-id=ndhcmhblfbbcejhpmekjaoljlkgmlebj --app-run-on-os-login-mode=windowed
|
@ -1,14 +0,0 @@
|
||||
# Autostarting Progressive WebApps using Vivaldi
|
||||
# App IDs may be globally the same?
|
||||
|
||||
# Telegram WebZ
|
||||
exec --no-startup-id vivaldi --profile-directory=Default --app-id=ibblmnobmgdmpoeblocemifbpglakpoi "--app-url=https://web.telegram.org/z/"
|
||||
|
||||
# Glowing Bear, WeeChat Relay protocol client.
|
||||
exec --no-startup-id vivaldi --profile-directory=Default --app-id=copdfoibmmeogdkkhnckdgnngdchekmf "--app-url=https://latest.glowing-bear.org/index.html"
|
||||
|
||||
# YouTube Music
|
||||
exec --no-startup-id vivaldi --profile-directory=Default --app-id=cinhimbnkkaeohfgghhklpknlkffjgod "--app-url=https://music.youtube.com/?source=pwa"
|
||||
|
||||
# Ntfy.sh Web
|
||||
exec --no-startup-id vivaldi --profile-directory=Default --app-id=cmgiilnmnfechkeifkepembegeckngog "--app-url=https://ntfy.sh/app"
|
4
etc/NetworkManager/conf.d/mdns.conf
Normal file
4
etc/NetworkManager/conf.d/mdns.conf
Normal file
@ -0,0 +1,4 @@
|
||||
# Enables mDNS for systemd-resolved
|
||||
[connection]
|
||||
connection.mdns=2
|
||||
connection.llmnr=2
|
@ -8,7 +8,10 @@
|
||||
"app.element.io",
|
||||
"staging.element.io",
|
||||
"develop.element.io",
|
||||
"chat.pikaviestin.fi"
|
||||
"chat.pikaviestin.fi",
|
||||
"webchat.disroot.org",
|
||||
"learn.microsoft.com",
|
||||
"teams.microsoft.com"
|
||||
],
|
||||
"learnInIncognito": true,
|
||||
"learnLocally": true,
|
||||
|
@ -7,7 +7,10 @@
|
||||
"app.element.io",
|
||||
"staging.element.io",
|
||||
"develop.element.io",
|
||||
"chat.pikaviestin.fi"
|
||||
"chat.pikaviestin.fi",
|
||||
"webchat.disroot.org",
|
||||
"learn.microsoft.com",
|
||||
"teams.microsoft.com"
|
||||
],
|
||||
"learnInIncognito": true,
|
||||
"learnLocally": true,
|
||||
|
@ -0,0 +1,13 @@
|
||||
{
|
||||
"BraveShieldsDisabledForUrls": [
|
||||
"https://app.element.io",
|
||||
"https://staging.element.io",
|
||||
"https://develop.element.io",
|
||||
"https://chat.pikaviestin.fi",
|
||||
"https://webchat.disroot.org",
|
||||
"https://learn.microsoft.com",
|
||||
"https://teams.microsoft.com",
|
||||
"https://glowing-bear.org/",
|
||||
"https://latest.glowing-bear.org/"
|
||||
]
|
||||
}
|
4
etc/opt/chromium/policies/managed/doh-quad9.json
Normal file
4
etc/opt/chromium/policies/managed/doh-quad9.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"DnsOverHttpsMode": "automatic",
|
||||
"DnsOverHttpsTemplates": "https://dns.quad9.net/dns-query"
|
||||
}
|
@ -20,6 +20,8 @@ options rotate edns0 trust-ad
|
||||
|
||||
# no sending local domain to upstream whenever NXDOMAIN happens
|
||||
search .
|
||||
# Attempt to mDNS everything?
|
||||
#search .local
|
||||
|
||||
# PS. Remove empty lines and comments if this ends up in /etc/resolv.conf
|
||||
# PPS. The traditional spell is:
|
||||
|
@ -7,14 +7,16 @@ Type=ether
|
||||
[Link]
|
||||
# My devices generally also have WiFi so lack of ethernet is not a reason
|
||||
# to wait for systemd-networkd-wait-online.service
|
||||
RequiredForOnline=no
|
||||
RequiredForOnline=false
|
||||
# Takes "ipv4", "ipv6", "both", or "any" (default).
|
||||
RequiredFamilyForOnline=both
|
||||
# Always set administrative state to up. Implies RequiredForOnline=yes
|
||||
# Always set administrative state to up. Implies RequiredForOnline=true
|
||||
#ActivationPolicy=always-up
|
||||
# Required for mDNS
|
||||
Multicast=true
|
||||
|
||||
[Network]
|
||||
#DHCP=yes
|
||||
#DHCP=true
|
||||
# /24, /16, /8 are the the class C, B, A networks
|
||||
Address=192.168.0.2/24
|
||||
Gateway=192.168.0.1
|
||||
@ -30,3 +32,7 @@ IPv6LinkLocalAddressGenerationMode=stable-privacy
|
||||
# multiple times, but you are using Chrony instead, right?
|
||||
#NTP=fi.pool.ntp.org
|
||||
#NTP=time.cloudflare.com
|
||||
# Enable mDNS/.local for systemd-resolved
|
||||
MulticastDNS=true
|
||||
# Windows
|
||||
LLMNR=true
|
||||
|
@ -7,13 +7,19 @@ Type=wlan
|
||||
[Link]
|
||||
# Takes "ipv4", "ipv6", "both", or "any" (default).
|
||||
RequiredFamilyForOnline=both
|
||||
# Always set administrative state to up. Implies RequiredForOnline=yes
|
||||
# Always set administrative state to up. Implies RequiredForOnline=true
|
||||
ActivationPolicy=always-up
|
||||
# If something else (like iwd EnableNetworkConfiguration=true) manages network,
|
||||
# uncomment
|
||||
#Unmanaged=true
|
||||
# Required for mDNS
|
||||
Multicast=true
|
||||
|
||||
[Network]
|
||||
DHCP=yes
|
||||
DHCP=true
|
||||
IPv6PrivacyExtensions=true
|
||||
IPv6LinkLocalAddressGenerationMode=stable-privacy
|
||||
# Enable mDNS/.local for systemd-resolved
|
||||
MulticastDNS=true
|
||||
# Windows
|
||||
LLMNR=true
|
||||
|
@ -10,3 +10,7 @@ Cache=true
|
||||
DNS=127.0.0.1
|
||||
DNS=::1
|
||||
Domains=~.
|
||||
# .local domains
|
||||
MulticastDNS=true
|
||||
# Microsoft Windows compatibility?
|
||||
LLMNR=true
|
||||
|
@ -0,0 +1,2 @@
|
||||
[Unit]
|
||||
Conflicts=avahi-daemon.service avahi-daemon.socket
|
6
etc/unbound/unbound.conf.d/local-tlds.conf
Normal file
6
etc/unbound/unbound.conf.d/local-tlds.conf
Normal file
@ -0,0 +1,6 @@
|
||||
server:
|
||||
# mDNS, must not be sent to upstream servers. static replies nxdomain/nodata
|
||||
# unless local data specifies how to answer
|
||||
local-zone: "local." static
|
||||
local-zone: "internal." static
|
||||
local-zone: "invalid." static
|
@ -1,3 +1,6 @@
|
||||
# Ensure /etc/sysctl.d/ gets read
|
||||
@reboot /usr/sbin/sysctl -p --system >/dev/null 2>&1
|
||||
|
||||
# 3rd party Xbox controller initialization. See Mikaela/gist/gayming/
|
||||
@reboot /root/fixcontroller.py
|
||||
|
||||
@ -7,7 +10,7 @@
|
||||
@reboot /usr/sbin/duperemove -rdhq --hashfile=/root/snap.hash /var/lib/snapd
|
||||
|
||||
# Another attempt at ensuring Yggdrasil works with nordvpnd
|
||||
@reboot /usr/bin/sleep 300 && /usr/sbin/sysctl net.ipv6.conf.all.disable_ipv6=0
|
||||
@reboot /usr/bin/sleep 315 && /usr/bin/systemctl systemctl restart yggdrasil.service --quiet
|
||||
@reboot /usr/bin/sleep 300 && /usr/sbin/sysctl net.ipv6.conf.all.disable_ipv6=0 >/dev/null 2>&1
|
||||
@reboot /usr/bin/sleep 315 && /usr/bin/systemctl restart yggdrasil.service --quiet
|
||||
|
||||
# vim: filetype=crontab
|
||||
|
Loading…
Reference in New Issue
Block a user