mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-08-20 13:17:38 +02:00
Compare commits
No commits in common. "a581ee2dd563e0479769179a0884a985373d0888" and "9fb90d4b30ab78246e7d1e955930a3b1f040ddc6" have entirely different histories.
a581ee2dd5
...
9fb90d4b30
@ -87,7 +87,7 @@
|
|||||||
},
|
},
|
||||||
"{48748554-4c01-49e8-94af-79662bf34d50}": {
|
"{48748554-4c01-49e8-94af-79662bf34d50}": {
|
||||||
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/privacy-pass/latest.xpi",
|
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/privacy-pass/latest.xpi",
|
||||||
"installation_mode": "force_installed"
|
"installation_mode": "normal_installed"
|
||||||
},
|
},
|
||||||
"{6a65273e-2b26-40f5-b66e-8eed317307da}": {
|
"{6a65273e-2b26-40f5-b66e-8eed317307da}": {
|
||||||
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/new-tab-suspender/latest.xpi",
|
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/new-tab-suspender/latest.xpi",
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
},
|
},
|
||||||
"ExtensionSettings": {
|
"ExtensionSettings": {
|
||||||
"ajhmfdgkijocedmfjonnpjfojldioehi": {
|
"ajhmfdgkijocedmfjonnpjfojldioehi": {
|
||||||
"installation_mode": "force_installed",
|
"installation_mode": "normal_installed",
|
||||||
"override_update_url": true,
|
"override_update_url": true,
|
||||||
"toolbar_pin": "default_unpinned",
|
"toolbar_pin": "default_unpinned",
|
||||||
"update_url": "https://clients2.google.com/service/update2/crx"
|
"update_url": "https://clients2.google.com/service/update2/crx"
|
||||||
|
@ -2,6 +2,3 @@
|
|||||||
%nordvpn ALL=NOPASSWD: /bin/systemctl stop nordvpnd.service
|
%nordvpn ALL=NOPASSWD: /bin/systemctl stop nordvpnd.service
|
||||||
%nordvpn ALL=NOPASSWD: /bin/systemctl start nordvpnd.service
|
%nordvpn ALL=NOPASSWD: /bin/systemctl start nordvpnd.service
|
||||||
%nordvpn ALL=NOPASSWD: /bin/systemctl restart nordvpnd.service
|
%nordvpn ALL=NOPASSWD: /bin/systemctl restart nordvpnd.service
|
||||||
# used in my scripts and nordvpn.service.d and yggdrasil.service.d to ensure
|
|
||||||
# it works
|
|
||||||
%nordvpn ALL=NOPASSWD: /bin/systemctl restart yggdrasil.service
|
|
||||||
|
7
etc/sysctl.d/99-enable-ipv6.conf
Normal file
7
etc/sysctl.d/99-enable-ipv6.conf
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# This is only required because of NordVPN
|
||||||
|
net.ipv6.conf.all.disable_ipv6 = 0
|
||||||
|
net.ipv6.conf.default.disable_ipv6 = 0
|
||||||
|
net.ipv6.conf.lo.disable_ipv6 = 0
|
||||||
|
net.ipv6.conf.tun0.disable_ipv6 = 0
|
||||||
|
net.ipv6.conf.nordlynx.disable_ipv6 = 0
|
||||||
|
net.ipv6.conf.yggdrasil.disable_ipv6 = 0
|
@ -1,4 +0,0 @@
|
|||||||
# nordvpnd disables IPv6 which Yggdrasil depends on, so let's restart it.
|
|
||||||
# Note ../yggdrasil.service.d/ enabling IPv6 for all interfaces.
|
|
||||||
[Service]
|
|
||||||
ExecStartPost=systemctl restart yggdrasil.service --quiet
|
|
@ -1,7 +0,0 @@
|
|||||||
# nordvpnd disables IPv6 for all interfaces and thus breaks Yggdrasil. This
|
|
||||||
# override gives yggdrasil.service two chances to ensure IPv6 is enabled.
|
|
||||||
[Service]
|
|
||||||
ExecStartPre=sysctl net.ipv6.conf.all.disable_ipv6=0
|
|
||||||
ExecStartPost=sysctl net.ipv6.conf.all.disable_ipv6=0
|
|
||||||
# I cannot use this as the interface won't exist until Yggdrasil starts
|
|
||||||
#ExecStartPost=sysctl net.ipv6.conf.yggdrasil.disable_ipv6=0
|
|
@ -6,8 +6,4 @@
|
|||||||
@reboot /usr/sbin/duperemove -rdhq --hashfile=/root/flatpak.hash /var/lib/flatpak
|
@reboot /usr/sbin/duperemove -rdhq --hashfile=/root/flatpak.hash /var/lib/flatpak
|
||||||
@reboot /usr/sbin/duperemove -rdhq --hashfile=/root/snap.hash /var/lib/snapd
|
@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
|
|
||||||
|
|
||||||
# vim: filetype=crontab
|
# vim: filetype=crontab
|
||||||
|
Loading…
x
Reference in New Issue
Block a user