Commit Graph

167 Commits

Author SHA1 Message Date
Aminda Suomalainen 36b1544606
dnsmasq: I don't care about breaking OpenDNS
OpenDNS should care about breaking me.
2017-01-12 12:54:52 +02:00
Aminda Suomalainen 61296f1cea
NetworkManager: mess .conf more, add .conf.arch 2016-12-14 12:04:35 +02:00
Aminda Suomalainen d17a1d936b
NetworkManager: add dnsmasq.d/mikaela.conf
I want DNSMasq to behave a little differently from the NetworkManager
defaults.

The default cache size of 150/400 seems a little small and 10 000 probably
won't be full soon and I am sure modern systems at least at home where I
am using dnsmasq again won't suffer from it.

By default dnsmasq started by NEtworkManager only listens on 127.0.0.1
while ::1 also exists, I want it to be also listened on in case anything
decides to try querying with it.

DNSSEC is not checked by default while I want that behaviour, but as I
am using OpenDNS I cannot make it verify unsigned zones are unsigned :(

Also add symlink to trust-anchors.conf that should ship with DNSSEC to
avoid having to deal with it manually. It should work as a reminder that
it's also needed.
2016-12-14 11:54:48 +02:00
Aminda Suomalainen 1ba8dd4137
systemd: snapd.refresh.service override
It fails on laptops thanks to not being able to do DNS resolution thanks
to network connection not existing during boot.

Now it fails to `Download snap "ubuntu-core" (423) from channel "stable"
(cannot authenticate to snap store: Provided email/password is not
correct.)` which is process and appears to not be my issue.
2016-12-13 19:30:32 +02:00
Aminda Suomalainen 56de53ee30
systemd: only override issues with stock units
Only oidentd.socket and miredo.service were copied instead of being
units that exist in the system and they don't need to do anything
else than fix the issue I have with the stock units.

* oidentd.socket is IPv6-only on my systems unless is BindIPv6Only=both.
  because of net.ipv6.bindv6only=1
* miredo.service is here because it starts before there is network
  connection (network-online.target) and there is never network
  connection with laptops before they are connected to WLAN even if
  NetworkManager might be up seeking/connecting to network.
2016-12-13 19:22:26 +02:00
Aminda Suomalainen 0925e0d23e
somewhat rewrite etc/resolv.conf 2016-12-08 11:13:22 +02:00
Aminda Suomalainen 2151d9b602
etc/resolv.conf: add commented OpenDNS just in case
And possibly helpful comments, I wish they started doing DNSSEC.
2016-11-29 10:44:25 +02:00
Aminda Suomalainen 314a03ee24
sysctl: increase vm.swappiness to 10 2016-07-25 17:01:12 +03:00
Aminda Suomalainen 299b5ce108
redshift: use coordinates of Lauttasaari 2016-05-17 21:28:43 +03:00
Aminda Suomalainen 6b6cefb9cd
export XCURSOR_DISCOVER=1
Workarounds invisible cursor issue and I think it doesn't hurt even when
that issue isn't encountered.
2016-04-15 21:15:06 +03:00
Aminda Suomalainen e99cffb130
sources.list: 16.04.archive.ubuntu.com
This shouldn't be used, but this is the only working way through "hash
sum mismatch".
2016-04-14 09:05:38 +03:00
Aminda Suomalainen f91e9c6a2b
ydns-simple --> ydns6 2016-04-11 15:34:28 +03:00
Aminda Suomalainen bdc742b728 NetworkManager.conf: add captive portal check 2016-03-31 15:41:37 +03:00
Aminda Suomalainen 070f879946 etc/xdg/autostart: add chromium & chrome 2016-03-15 11:13:23 +02:00
Aminda Suomalainen 36b99e8679 sysctl: enable Magic SysRq key 2016-03-03 16:12:33 +02:00
Aminda Suomalainen f2451906ce etc/NetworkManaer/NetworkManager.conf 2016-02-04 12:00:25 +02:00
Aminda Suomalainen c772dd308f sysctl.d: 40-ipv6.conf 2016-02-04 11:45:03 +02:00
Aminda Suomalainen 9a662594d2 Fix #87 (explain ssh_config UseRoaming no) 2016-01-14 20:37:51 +02:00
Aminda Suomalainen bbfb63dabd unify the two ssh_config files (fix typos) 2016-01-14 16:59:18 +02:00
Aminda Suomalainen 9d5db7ee3c ssh_config: add "UseRoaming no"
https://twitter.com/msfriedl/status/687635945642967040
2016-01-14 16:47:30 +02:00
Aminda Suomalainen e80dbd29fe etc/nginx/host: enable http2 2016-01-13 12:05:35 +02:00
Aminda Suomalainen d903ba5985 sshd_config: no instead of No
Permitrootlogin had it for some reason and Jolla's sshd didn't like it.
2016-01-06 10:17:33 +02:00
Aminda Suomalainen f1817f4014 sources.list: I don't maintain devel 2015-12-28 14:50:21 +02:00
Aminda Suomalainen c0503fab51 sources.list/ubuntu: fix apt-key command 2015-12-28 14:48:31 +02:00
Aminda Suomalainen fb9961be7b unbound.d/logging.conf: I need verbosity 2
1 doesn't seem to tell me when things start randomly failing.
2015-12-18 11:37:47 +02:00
Aminda Suomalainen 8804f7e9f6 etc/unbound/unbound.conf.d: logging.conf
Logging to systemd-journald (journalct) with verbosity 1.
2015-12-18 09:52:18 +02:00
Aminda Suomalainen a187ae584d profile: numlockx on 2015-12-15 20:06:23 +02:00
Aminda Suomalainen 2dce923a56 etc/apt/sources.list: commented Ubuntu MATE 2015-12-15 18:11:50 +02:00
Aminda Suomalainen 8342c97bc2 git rm 15.04 2015-12-15 18:07:34 +02:00
Aminda Suomalainen 9431381b93 sources.list: add Ubuntu 16.04 2015-11-06 09:14:27 +02:00
Aminda Suomalainen f58977d151 unbound forwards.conf: add commented trex dns64 2015-10-26 08:58:36 +02:00
Aminda Suomalainen 50d27ca7b6 etc/xdg/autostart: add clipit 2015-10-25 14:30:42 +02:00
Aminda Suomalainen 4257dcfb37 etc/xdg/autostart/redshift: add comment on Kotka 2015-10-25 14:27:06 +02:00
Aminda Suomalainen 2154ee9b01 etx/xdg/autostart: cleaning 2015-10-25 14:26:24 +02:00
Aminda Suomalainen a5ca47e88d nginx: X-Xss-Protectio & -Content-Type-Options
via https://securityheaders.io/ via znc/znc#1168
2015-10-25 09:18:34 +02:00
Aminda Suomalainen 47eac3b6eb sources.list README: add wget method 2015-10-17 14:31:48 +03:00
Aminda Suomalainen 650829aea9 nginx: add Upgrade Insecure Requests
http://caniuse.com/#feat=upgradeinsecurerequests
2015-09-23 17:50:11 +03:00
Aminda Suomalainen 02f4f2f0d4 profile.d/mikaela.sh: set TZ to $(date +%Z)
Also remove the commented Steam thing as it's Antergos-only issue.
2015-09-13 10:46:38 +03:00
Aminda Suomalainen c42ae8eb43 ssh: also send EDITOR 2015-09-12 11:45:42 +03:00
Aminda Suomalainen fdf8255372 ssh: send/accept also TZ TERM 2015-09-12 11:42:44 +03:00
Aminda Suomalainen 0f00443a7b sshd_config: mention the LC_ALL anyway
my config files are horrible, too many comments.
2015-09-06 18:42:36 +03:00
Aminda Suomalainen 96ca38818f sshd_config: don't talk so much about locales 2015-09-06 18:40:02 +03:00
Aminda Suomalainen 801e3e0941 sshd_config: AcceptEnv LANG, LANGUAGE LC_*
but not LC_ALL and there is no asterisk, the varibles are allowed
separately. It's very unlikely that someone invents a new locale type.
2015-09-06 18:36:48 +03:00
Aminda Suomalainen a3d5fbd9d7 sshd_config: http://serverfault.com/a/660325 2015-09-06 18:27:50 +03:00
Aminda Suomalainen a0352630fd sshd_config: verbose logging of sftp 2015-09-06 17:37:34 +03:00
Aminda Suomalainen 8d55bc53db sshd_config: use internal sftp & fixes
thanks again @grawity
2015-09-06 17:20:12 +03:00
Aminda Suomalainen c82b706942 fix 7470403158
thanks @DarthGandalf and @grawity on #znc
2015-09-06 17:13:21 +03:00
Aminda Suomalainen 7470403158 sshd_config: add Fedora & Gentoo sftp-server
thanks Conjuro and @DarthGandalf on #znc
2015-09-06 17:09:55 +03:00
Aminda Suomalainen 774346c8d0 fix sshd_config 2015-09-06 08:42:29 +03:00
Aminda Suomalainen 68c6da5aec ssh_config: fix comments 2015-09-06 08:15:17 +03:00