mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-16 16:29:23 +01:00
Compare commits
4 Commits
32c5da4422
...
7c80e2c329
Author | SHA1 | Date | |
---|---|---|---|
7c80e2c329 | |||
38152ab152 | |||
505c6ec74a | |||
7113fda702 |
2
etc/NetworkManager/conf.d/.gitignore
vendored
Normal file
2
etc/NetworkManager/conf.d/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
dns-none.conf
|
||||
no-resolvconf.conf
|
@ -1,2 +0,0 @@
|
||||
[main]
|
||||
dns=none
|
1
etc/NetworkManager/conf.d/dns-none.conf
Symbolic link
1
etc/NetworkManager/conf.d/dns-none.conf
Symbolic link
@ -0,0 +1 @@
|
||||
paws-off-my-resolv.conf
|
@ -1,3 +0,0 @@
|
||||
# Don't touch resolv.conf at all, so VPN can take control of it
|
||||
[main]
|
||||
dns=none
|
1
etc/NetworkManager/conf.d/no-resolvconf.conf
Symbolic link
1
etc/NetworkManager/conf.d/no-resolvconf.conf
Symbolic link
@ -0,0 +1 @@
|
||||
paws-off-my-resolv.conf
|
2
etc/NetworkManager/conf.d/paws-off-my-resolv.conf
Normal file
2
etc/NetworkManager/conf.d/paws-off-my-resolv.conf
Normal file
@ -0,0 +1,2 @@
|
||||
[main]
|
||||
dns=none
|
1
etc/hosts/.gitignore
vendored
Normal file
1
etc/hosts/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
hosts.arch
|
@ -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
1
etc/hosts/hosts.arch
Symbolic link
@ -0,0 +1 @@
|
||||
hosts.steamos
|
4
etc/hosts/hosts.steamos
Normal file
4
etc/hosts/hosts.steamos
Normal file
@ -0,0 +1,4 @@
|
||||
# Static table lookup for hostnames.
|
||||
# See hosts(5) for details.
|
||||
127.0.0.1 localhost
|
||||
::1 localhost
|
@ -3,3 +3,5 @@
|
||||
%plugdev ALL = NOPASSWD: /usr/sbin/hibernate
|
||||
# suspend
|
||||
%plugdev ALL = NOPASSWD: /usr/sbin/s2ram
|
||||
|
||||
# vim: filetype=sudoers
|
||||
|
@ -12,3 +12,5 @@ Defaults insults
|
||||
|
||||
# Disable insults for user aminda
|
||||
#Defaults:aminda !insults
|
||||
|
||||
# vim: filetype=sudoers
|
||||
|
@ -3,3 +3,5 @@
|
||||
# For more information, see https://superuser.com/a/500125
|
||||
# & https://serverfault.com/a/333640
|
||||
Defaults lecture = always
|
||||
|
||||
# vim: filetype=sudoers
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user