Compare commits

..

4 Commits

14 changed files with 38 additions and 5 deletions

2
etc/NetworkManager/conf.d/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
dns-none.conf
no-resolvconf.conf

View File

@ -1,2 +0,0 @@
[main]
dns=none

View File

@ -0,0 +1 @@
paws-off-my-resolv.conf

View File

@ -1,3 +0,0 @@
# Don't touch resolv.conf at all, so VPN can take control of it
[main]
dns=none

View File

@ -0,0 +1 @@
paws-off-my-resolv.conf

View File

@ -0,0 +1,2 @@
[main]
dns=none

1
etc/hosts/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
hosts.arch

View File

@ -10,8 +10,10 @@ This file is DNS before DNS and legacy remain which is still used.
- [`blocklist`](#blocklist)
- [`dns`](#dns)
- [`hosts.arch`](#hostsarch)
- [`hosts.fedora`](#hostsfedora)
- [`hosts.debian`](#hostsdebian)
- [`hosts.steamos`](#hostssteamos)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
@ -30,6 +32,11 @@ and Unbound, so now it's something I can attempt to `/etc/hosts`.
**_EXCERCISE CAUTION!_**
## `hosts.arch`
For now this is a symlink to `hosts.steamos` as I am pretty sure they haven't
modified it.
## `hosts.fedora`
I am pretty sure this is the `/etc/hosts` that was given me by Fedora < 40
@ -39,3 +46,8 @@ with changes removed.
I think this is the Debian format which used to be just `../hosts` in this
repository.
## `hosts.steamos`
The `/etc/hosts` file from `SteamOS Holo` variant steamdeck version `3.5.19`
or `20240422.1`.

1
etc/hosts/hosts.arch Symbolic link
View File

@ -0,0 +1 @@
hosts.steamos

4
etc/hosts/hosts.steamos Normal file
View File

@ -0,0 +1,4 @@
# Static table lookup for hostnames.
# See hosts(5) for details.
127.0.0.1 localhost
::1 localhost

View File

@ -3,3 +3,5 @@
%plugdev ALL = NOPASSWD: /usr/sbin/hibernate
# suspend
%plugdev ALL = NOPASSWD: /usr/sbin/s2ram
# vim: filetype=sudoers

View File

@ -12,3 +12,5 @@ Defaults insults
# Disable insults for user aminda
#Defaults:aminda !insults
# vim: filetype=sudoers

View File

@ -3,3 +3,5 @@
# For more information, see https://superuser.com/a/500125
# & https://serverfault.com/a/333640
Defaults lecture = always
# vim: filetype=sudoers

View File

@ -12,3 +12,7 @@
%nordvpn ALL=NOPASSWD: /bin/systemctl restart systemd-networkd.service
# Tells Chrony we are connected and thus maybe connects to IPv6 NTP servers
%nordvpn ALL=NOPASSWD: /usr/bin/chronyc online
# Clearing DNS caches once we are disconnected
%nordvpn ALL=NOPASSWD: /bin/systemctl restart unbound.service
%nordvpn ALL=NOPASSWD: /bin/systemctl restart systemd-resolved.service
# vim: filetype=sudoers

View File

@ -1,3 +1,5 @@
# Via https://askubuntu.com/a/692712, I am tired of checking password just
# for this. Target system: Debian and Ubuntu
%sudo ALL=NOPASSWD: /bin/systemctl restart matterbridge.service
# vim: filetype=sudoers

View File

@ -6,3 +6,5 @@
%sudo ALL=NOPASSWD: /bin/systemctl stop teamviewerd.service
%sudo ALL=NOPASSWD: /bin/systemctl start teamviewerd.service
%sudo ALL=NOPASSWD: /bin/systemctl restart teamviewerd.service
# vim: filetype=sudoers