Commit Graph

702 Commits

Author SHA1 Message Date
3c23a31d18
etc/sysctl.d: add 99-ssd-swappiness.conf (and .gitignore)
The default 99-sysctl.conf doesn't have to be here, it's a symlink to
top directory anyway.
2022-06-13 17:20:53 +03:00
3e3added6c
etc/tlp.d: add lumina.conf 2022-06-04 14:17:22 +03:00
1c86e28c67
etc/yum.repos.d/README.md: note sudo fedora-third-party enable 2022-04-21 09:13:44 +03:00
e74d1b6eea
etc/tor: add torrc.d, README, http.conf 2022-04-12 15:10:45 +03:00
bb7f283891
Revert "systemd/matterbridge.service: import parts of upstream"
This reverts commit 35aea33043.

Ref: https://github.com/42wim/matterbridge/issues/1794
2022-04-04 09:50:46 +03:00
35aea33043
systemd/matterbridge.service: import parts of upstream
https://github.com/42wim/matterbridge/wiki/Service-files#systemd
2022-04-04 08:35:23 +03:00
12db5c8841
torrc-client: uncomment 8118 2022-03-31 08:26:55 +03:00
82ef806e9f
systemd-resolved README: add quickstart, remove extra h-levels 2022-03-28 20:43:03 +03:00
17da76e484
systemd/resolved/README.md: add the ArchWiki DNSSEC issue links 2022-03-28 20:37:37 +03:00
f55c00dae6
systemd/resolved/README.md: add missing word, improve formatting 2022-03-28 20:36:11 +03:00
8c532e3ef8
etc…resolved…: add/clarify links in/to comments
Courtesy of https://wiki.archlinux.org/title/Systemd-resolved#DNSSEC
2022-03-28 20:34:37 +03:00
d47c374706
etc/ststemd/resolved…: aggressive cleanup/rewriting 2022-03-28 20:28:17 +03:00
64bba542b1
systemd/matterbridge.service: remove -debug, mention /groupId 2022-03-18 10:44:25 +02:00
76814f830f
etc/{i2pd,systemd}: modernise to less bad ideas
The issue has been fixed last year and considering I2Pd can connect
through Yggdrasil natively, tunneling Yggdrasil in is a bad idea and
could lead into Yggdrasil over Yggdrasil loop situation.
2022-03-08 18:18:40 +02:00
3513928492
etc/tor/torrc-client: add PirateIRC 2022-03-02 14:44:13 +02:00
5613e1bd9a
etc/tor/…-client: add hybridirc onion 2022-02-26 21:07:39 +02:00
d2e21e9b4e
etc/resolv.csv: add OpenDNS DoT with a question mark
Ref: #127
2022-02-23 09:58:06 +02:00
859bc2a28c
etc/sudoers.d: add restart-matterbridge
Allows restarting matterbridge passwordlessly
2022-02-14 12:14:22 +02:00
0778849f34
etc/sudoers.d: rm protonvpn
TODO: figure out does the hibernate file have reason for existing, I have
faint idea of the package being removed
2022-02-14 12:07:47 +02:00
018f80e6fe
etc/pkcs11/modules: correct libcryptoki & README 2022-02-10 17:40:40 +02:00
33950a762e
etc/pkcs11/modules: add README.md,libcryptoki.module 2022-02-10 16:33:49 +02:00
82d2146706
etc/tor/client: remove PirateIRC and freenode
PirateIRC with Ergo is yet to get onion setup and I imagine freenode
destroyed their onion a long time ago. I haven't been using it though.
2022-01-17 17:31:33 +02:00
df3e710c60
etc/tor/torrc-client: add MapAddress for OFTC 2022-01-17 17:30:39 +02:00
f0029674e7
etc/apt/sources.list: also update debug.mirrors.debian.org onion
Resolves: #124
2022-01-16 19:17:48 +02:00
4c6cc2391f
etc/apt/sources.list: attempt to update to onionV3
Resolves: #124
2022-01-16 19:06:41 +02:00
f58d0d7d01
ssh/user-permit-password: add example for multiple users 2022-01-16 15:15:09 +02:00
1356fccd20
systemd: add flatpak-update.{service,timer}
Resolves: #121
2021-12-18 13:45:53 +02:00
1b4ac2b6d7
etc/systemd/system.conf.d: add log4shell.conf 2021-12-13 13:09:35 +02:00
5704353d55
systemd: copy matterbridge restarter into gitea one
It used to stop working randomly without a good reason, but that is
likely fixed upstream a long time ago and while I removed it from cron,
these units exist so should the issue recur, I can throw these back in.

The cron wasn't randomized though, but I don't think there is harm in
this being a bit random.
2021-12-06 23:48:40 +02:00
8e69874534
matterbridge-restart.timer: fix language 2021-12-06 23:48:30 +02:00
8209a74c6b
etc: small xdg/autostarts updates:
* pulseeffects -> easyeffects
* wire -> deprecated/
* telegramdesktop.desktop: add workaround (and supposedly it didn't
  exist here, #42)

Resolves: #42
2021-12-02 19:52:34 +02:00
bd91ef704d
systemd: matterbridge.timer -> matterbridge-restart.{service,timer}
Resolves: #98
2021-11-22 09:56:56 +02:00
9ba056cfd3
matterbridge-cleanup.service: fix typo, ignore exit state 2021-11-21 17:15:12 +02:00
62573195d9
systemd: add matterbridge-cleanup.{service,timer}
Resolves: #98
2021-11-21 17:11:44 +02:00
13278214d1
matterbridge.timer: OnBootSec=0 just in case
Ref: #98
2021-11-21 16:59:05 +02:00
29f7cf6b98
systemd: first attempt at matterbridge restarter timer
Ref: #98
2021-11-21 16:52:14 +02:00
4f50f4a367
systemd-resolved: don't DNSSEC with adblocking 2021-11-21 11:37:03 +02:00
12fe7a59a8
etc/systemd/resolved: add configuration for Mullvad DoT 2021-11-21 11:16:11 +02:00
d49b78680b
etc/resolv.csv: add CZ.NIC ODVR
Ref: #110
Ref: #112
2021-11-07 18:59:16 +02:00
1e40420115
unbound: rm outdated yggdrasil-override
Ref: #89
2021-10-05 12:38:16 +03:00
bfa51f500b
unbound/dns-over-tls.conf: stop advertising Debian 9 2021-10-05 12:34:10 +03:00
ee293669d9
unbound: add dot-flushable-cache.conf
Resolves: #105
2021-10-05 12:33:40 +03:00
862808fe07
etc/yum.repos.d: partially rewrite README.md
Main problem was "dnf still reads this repository apparently" where the
word "repository" was wrong, and I couldn't fix it without changing
everything :)
2021-10-05 12:18:42 +03:00
4b57b299cc
etc/yum.repos.d/*.repo: rename descriptively
The fedora-dino.repo was unfriendly towards Windows (#106) and I noticed
that the other renamed files contained Fedora, so I think they should be
named appropiately. microsoft-edge-dev.repo mentioned generally
yumrepos, so it seems to not be Fedora specific.
2021-10-05 12:13:11 +03:00
e49187f9dc
chrony/README: fix Windows doc 2021-10-05 10:59:53 +03:00
12127744b5
systemd: also keep trying Chrony 2021-10-03 09:58:59 +03:00
84e714b55e
systemd: keep retrying yggdrasil, don't sleep 2021-10-03 09:58:03 +03:00
38ef6e7314
chrony/sources/nts: add nts.netnod.se
They appear to be the only bigger party hosting NTS in addition to
Cloudflare and being in neighbouring country isn't too bad

Via https://gist.github.com/jauderho/2ad0d441760fc5ed69d8d4e2d6b35f8d
which encouraged me to look into them a bit more. Additionally having
read chrony or chrony.conf manual on default behaviour implying NTS
servers are "require trust" and when mixing them with NTP servers, NTP
servers never get selected unless they agree with NTS servers.
2021-09-26 21:28:06 +03:00
61ad1e935b
00-ptrace-restricted.conf: set to 3
I cannot remember when I last needed it and this makes Edgium
about:sandbox happy
2021-09-06 18:45:38 +03:00
575b68fe3a
etc/apt/sources.list/stable: update security name
https://www.debian.org/releases/bullseye/amd64/release-notes/ch-information.en.html#security-archive
2021-08-15 00:42:58 +03:00
c8189a3aa6
chrony/yggdrasil.sources: update jolly-roger address 2021-08-08 00:07:01 +03:00
a7ea71ae38
chrony/conf.d: add cmd.conf
Ref: #95

which this attempts to workaround and fails
2021-08-07 23:56:38 +03:00
a43478e430
chrony: add broken NTS configuration
Ref: #94
2021-08-07 23:52:15 +03:00
a9f34a8d1c
sysctl/questionable: 99-nonlocalbind.conf
Resolves: #55
2021-06-27 17:43:34 +03:00
8f09ff7d45
chrony/confdir: add fedora-sourcedir.conf
Fedora doesn't specify non-DHCP sourcedir by default so I specify one
here
2021-06-26 23:24:51 +03:00
0c5413171f
sysctl.d: add 00-max-ipv6-route.conf 2021-06-20 00:42:24 +03:00
1c0073920a
pipewire/README: more on pro-audio, alsamixer and not deafening 2021-06-19 23:45:19 +03:00
c73d7a3a0c
sysctl.d: 00-magicsysrq.conf -> 60-magicsysrq.conf
Otherwise Fedora seems to overwrite it with priority 50 file
2021-06-19 15:49:27 +03:00
3b99675a34
etc/sysctl.d: go through, mkdir questionable/
Resolves: #93
2021-06-19 15:41:49 +03:00
9c7d0c6210
etc/ssh/config.d: add example.conf
So I can stop having to dig this from manual every time I want to
configure a new host, and a couple of options I haven't used previously,
but could as they seem nice
2021-06-18 13:48:41 +03:00
a5836327c4
etc: pipewire & bluetooth: enable codes, battery reporting
https://web.archive.org/web/20210614103423/https://www.redpill-linpro.com/techblog/2021/05/31/better-bluetooth-headset-audio-with-msbc.html
2021-06-14 13:36:34 +03:00
437a417697
etc/pipewire/…: say that using Pro-audio is enough fix 2021-06-14 12:13:57 +03:00
93823eabd6
sysctl.d: add 23-starts-unprivileged-ports.conf
Self-explanatory within comments. Link list notes to selves contributing
into this version:

* https://kernelnewbies.org/Linux_4.11
* https://stackoverflow.com/a/51439516
* https://stackoverflow.com/questions/413807/is-there-a-way-for-non-root-processes-to-bind-to-privileged-ports-on-linux#comment90027734_51439516
* https://developer.apple.com/forums/thread/674179
* https://news.ycombinator.com/item?id=18302380
* https://security.stackexchange.com/q/242859
* https://stackoverflow.com/questions/413807/is-there-a-way-for-non-root-processes-to-bind-to-privileged-ports-on-linux#comment90027734_51439516
2021-06-12 21:52:39 +03:00
75731868e7
unbound/dns-over-tls.conf: allow non-Finnish anycast & note being used on servers 2021-06-11 19:39:57 +03:00
126918d98d
systemd/limnoria.service: add TZ env & RestartSec 2021-06-02 17:50:30 +03:00
30a308d29f
torrc-client: add MapAddress for palladium.libera.chat
https://libera.chat/guides/connect#verifying-tor-tls-connections
2021-05-27 17:50:03 +03:00
6576e83901
etc/tor/torrc-client: add irc.ergo.chat 2021-05-27 02:52:30 +03:00
6f7016a596
torrc-client: add irc.liberta.casa 2021-05-22 13:16:26 +03:00
c1768cae67
systemd: "rewrite" supybot -> limnoria, move znc, rmdir irc/ 2021-05-16 18:00:31 +03:00
306270c441
etc/systemd: rm cjdns & miredo, I am unlikely to use them again 2021-05-16 11:15:34 +03:00
49facd9d39
etc/dnf.conf: comment tor example 2021-05-05 20:43:52 +03:00
aa18d746db
etc/pipewire/README.md: cut a long line into two 2021-05-05 11:02:53 +03:00
4b445c2aaf
etc/pipewire: remove the ...example.donotuse
I am quite sure that the config file has changed so much that the file
wouldn't work anyway and I don't think I really need it with the
important part being in the README.md
2021-05-05 11:01:50 +03:00
c6a75f0962
ssh/anoncvs.conf: fix typo 2021-05-04 16:18:31 +03:00
447e8192c2
etc/default/grub.d: add remember-previous.cfg 2021-04-30 20:05:22 +03:00
ad6ac7d45e
dnf.conf: double max_parallel_downloads 2021-04-28 12:32:58 +03:00
1ad289aa49
unbound/dot-mullvad-adblock.conf: add missing port number 2021-04-27 21:40:16 +03:00
41879fe5e8
unbound.conf.d: rm dns-mullvad, add dot-mullvad[-adblock] 2021-04-27 21:35:58 +03:00
61d19724fa
resolv.csv: add Mullvad 2021-04-27 21:30:46 +03:00
e4c9d168ba
yum.repos.d: add tor.repo 2021-03-28 09:41:15 +03:00
6f8c7de6af
unbound.conf.d: add 00-insecure-domains.conf (WiFi repeater config) 2021-03-14 21:00:32 +02:00
3b4847f447
yum.repos.d/protonvpn-unstable: remove unneeded expansions
Fixes pkcon complaining
2021-03-13 18:29:30 +02:00
134999487f
yum.repos.d: add microsoft-edge-dev.repo 2021-03-07 16:46:47 +02:00
93b9bc5ba6
yum.repos.d: move Dino from README to .repo 2021-03-07 16:37:15 +02:00
267f68ae80
yum.repos.d: add microsoft-prod.repo 2021-03-07 16:36:04 +02:00
e5c259eda6
README.md: write about soft-mixer 2021-03-02 12:21:58 +02:00
85d97aec3e
apt/preferences.d/pulseaudio: pin priority -1 backports too 2021-03-01 19:08:18 +02:00
51b0b5dde5
sudoers.d/protonvpn: add more paths & potential legacy note 2021-02-27 09:02:10 +02:00
5903664cb7
yum.repos.d: add protonvpn-unstable.repo 2021-02-26 14:10:38 +02:00
f21e22e80f
etc/sudoers.d: fix name, make notes to README.md 2021-02-26 11:34:20 +02:00
267dd77604
im.riot.Riot.desktop: add missing word "run" 2021-02-19 14:27:16 +02:00
8463fa8f5c
local/share/applications: Riot -> Element
Package name hasn't changed though so I imagine the icon is the same too
2021-02-19 13:59:27 +02:00
95a44d0be9
etc/pipewire: document the volume cutoff (pulseaudio style) workaround 2021-02-18 14:51:22 +02:00
c8e89a5817
systemd: add coredump.conf.d/biggercores.conf 2021-02-18 14:47:23 +02:00
8155bec959
sysctl.d: add 00-quic-go-udp-receive-buffer.conf
So I will remember it's existence
2021-02-13 09:36:28 +02:00
a0c61231f4
systemd/resolved.conf.d: add snopyta-strict.conf
While posting an example how I would do it I might as well put it here
2021-02-10 16:12:42 +02:00
288b010fe5
sshd: move mikaela-prohibit-password.conf to broken/
Apparently OpenSSH only allows PasswordAuthentication yes within a Match
block.
2021-02-02 14:12:43 +02:00
1be2720861
sshd: explicitly "terminate" Match blocks by Match All
https://unix.stackexchange.com/a/303982/17126 & man sshd_config
2021-02-02 13:58:35 +02:00
3260950712
sshd/anoncvs.conf: vcs users shouldn't ever be asked for a password
even if the system would allow that.
2021-02-02 13:06:04 +02:00
2711c5975e
NetworkManager.conf.d: add no-search-domains.conf 2021-02-02 12:52:34 +02:00
7ad17f8087
sshd/user-permit-password.conf: note on how to allow specific user to use passwords 2021-02-01 17:11:06 +02:00
1503367c86
sshd_config & ….d/README: note min version & date 2021-01-31 13:51:06 +02:00
f75bc7bd07
sshd/basic-security.conf: remove deprecated option
> /etc/ssh/sshd_config.d/basic-security.conf line 24: Deprecated option UsePrivilegeSeparation

OpenSSH_8.4p1, OpenSSL 1.1.1i FIPS  8 Dec 2020
2021-01-31 13:39:51 +02:00
0151bee9b0
sshd/mikaela-prohibit-password.conf: add AuthenticationMethods publickey 2021-01-30 22:15:51 +02:00
f1ea1e17d9
etc/ssh: rm copy 2021-01-30 21:35:05 +02:00
0572613d99
etc/ssh: cut sshd_config into multiple .confs 2021-01-30 21:31:38 +02:00
c5fa3daf29
sshd_config.d: read Mozilla docs & adjust accordingly
https://infosec.mozilla.org/guidelines/openssh
2021-01-30 21:18:41 +02:00
5211fb772c
sshd_config.d: add anoncvs.conf 2021-01-30 21:00:06 +02:00
de3a0739b4
sshd_config.d: add mikaela-prohibit-password.conf
Resolves: #88
2021-01-30 20:50:21 +02:00
a7c643bb7a
etc/sshd_config.d: add basic-security.conf
Ref: 88
2021-01-30 20:47:21 +02:00
8628ec28e0
yum.repos.d: add Dino 2021-01-30 11:01:17 +02:00
84ee7aeada
yum.repos.d: list Keybase too 2021-01-29 19:18:11 +02:00
27d1914424
etc: add dnf/dnf.conf & yum.repos.d/README.md 2021-01-29 19:15:08 +02:00
81296a241c
chrony: cut chrony.d/ into conf.d/ and sources.d/
I hope these are wider defaults than just Debian and allow me to not
conflit with package manager, but regardless having a separate
sources.d/ looks like a good idea for being able to `chronyc reload sources`
2021-01-29 12:56:38 +02:00
fc0730d7a5
sudoers.d/protonvpn.conf: add /usr/bin/protonvpn 2021-01-28 13:13:28 +02:00
16b19fb34d
torrc-client: add etro.mikaela.info 2021-01-26 19:42:25 +02:00
6216d8cda3
sudoers.d: add passwordless protonvpn-{tray,gui} 2021-01-16 20:40:21 +02:00
2df7aed162
chrony/yggdrasil: add comment & Kotka computers 2021-01-08 11:25:16 +02:00
Mikaela Suomalainen
0f94c59b81
chrony: add hetzner srevers 2020-12-19 13:03:54 +02:00
abb0c37ef2
unbound.conf.d: add yggdrasil-override.conf
Begins #89 at a better time
2020-12-15 20:34:01 +02:00
b26c9f698d
chrony/yggdrasil: add Etro 2020-12-15 14:30:30 +02:00
b20f3367b1
systemd/yggdrasil: add mullvad-exclude (& fix chrony override typo) 2020-12-09 09:38:49 +02:00
36b6a99e85
chrony.d: local-servers: add notes + xleave to the first comment 2020-12-09 08:44:34 +02:00
40d535f2c0
systemd/chrony.service.d/mullvad-exclude: actually fix this 2020-12-08 18:36:34 +02:00
f92b8d8d05
chrony.d/yggdrasil.conf: add y.Jolly-Roger 2020-12-06 19:49:12 +02:00
e27e88efd8
chrony.d: add hwtimestamp.conf 2020-12-06 19:26:04 +02:00
4a25481db2
chrony/yggdrasil.conf: add Sedric 2020-12-06 18:36:23 +02:00
5e94147e81
chrony.d/yggdrasil.conf: initial commit 2020-12-06 18:02:43 +02:00
2a615d8241
chrony: note that confdir and NTS require 4.0 2020-12-03 10:52:47 +02:00
e9aefd711b
blocklist.conf: refuse blocked instead of nxdomain
Only the Firefox DoH needs to be NXDOMAIN while REFUSE may be more
accurate for the rest.
2020-11-21 12:13:55 +02:00
e7a6e00b83
unbound/dns-over-tls: comment Adguard & NextDNS for not being in FI 2020-11-15 09:46:50 +02:00
aadcc009a0
unbound/dns-over-tls.conf: add Adguard (unfiltered) & NextDNS 2020-11-12 16:12:18 +02:00
3289a812ee
unbound: add dns-mullvad.conf (not encrypted)
Contains Mullvad Wireguard, OpenVPN and public addresses
2020-11-10 16:04:48 +02:00
9536101263
resolv.csv: add BlahDNS DoH CDNs
Just doh1, because it and doh2 resolve into the same addresses for me
and I don't want to add duplicate DoH field when only BlahDNS has two
differnt addresses for the same thing.
2020-11-08 12:50:31 +02:00
49d969822b
etc/resolv.csv: add BlahDNS
Resolves: #85
2020-11-04 12:56:48 +02:00
c302b10caf
chrony.d: restore log.conf 2020-11-01 11:57:57 +02:00
07e8c52f3b
chrony.d/local-servers: remove duplicate line
it's in README.md
2020-11-01 11:36:30 +02:00
dced82b820
etc/chrony: break chrony.conf into README.md & chrony.d/ 2020-11-01 11:23:59 +02:00
52458cc8aa
chrony.conf: add xleave for peer 2020-11-01 10:47:30 +02:00
84a669f51f
chrony.conf: add note for Windows on nettime 2020-10-31 18:10:25 +02:00
c55e6b97e8
chrony.conf: comments for nmap and VPNs 2020-10-31 14:34:47 +02:00
0c7038da14
systemd: systemd-resolved.service.d/unbound.conf: After unbound 2020-10-30 10:19:39 +02:00
fe83cbbb3a
systemd: add config for excluding Chrony from Mullvad 2020-10-30 08:04:58 +02:00
f878041e2e
unbound/dns-over-tls.conf: reverse order of providers
It seems to have some (small?) relevance to where queries go to.
2020-10-29 16:24:52 +02:00
6e1f41533c
unbound/dns-over-tls.conf: comment the 443 appliedprivacy
Thinking it a bit more, it's not useful to use their resources on
devices that practically never encounter blocked port 853.
2020-10-29 13:22:19 +02:00
b03e00faaa
local/share/apps: add firejailed mirage (todo: test it) 2020-10-29 13:15:48 +02:00
c93034ba7f
unbound/dns-over-tls.conf: major cleanup 2020-10-29 13:15:23 +02:00
8b04c26065
chrony.conf: add a peer comment for LOCALMACHINE.local 2020-10-27 10:35:09 +02:00
dc2ac02412
begin depulseaudioing
https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting#No_sound_below_a_volume_cutoff_or_Clipping_on_a_particular_output_device
is too much for me. I expect to suffer this decision too though.

* i3: bind audio buttons to amixer (TODO: there are still pulse-specific
  shortcuts and no shortcut for any kind of a mixer. $TERMINAL
  alsamixer?)
* i3status: comment pulse to make it see alsa
* apt: pin pulseaudio to negative priority
2020-10-26 17:21:39 +02:00
9b197cbaed
chrony.conf: add a local server example 2020-10-26 07:34:10 +02:00