shell-things/etc/sysctl.d/60-mikaela.conf
Mikaela Suomalainen 446c5c14ab
sysctl: don't touch vm.swappiness
I think my distribution is more capable of choosing a reasonable value
and I am not confident in understanding it enough.
2018-04-20 12:32:46 +03:00

19 lines
617 B
Plaintext

# Kernel settings that I prefer to have. ~~ Mikaela
# Core files appear with filename <binary>-<PID>-<hostname>.core
kernel.core_pattern = %e-%p-%h.core
# When binding to IPv6, only bind to IPv6. Avoids dotted-decimals
net.ipv6.bindv6only=1
## Enable IPv6 privacy extensions and prefer them to the EUI-64 address
net.ipv6.conf.default.use_tempaddr=2
net.ipv6.conf.all.use_tempaddr=2
# In case of systemd-networkd (which won't work with the above):
#net.ipv6.conf.eth0.use_tempaddr=2
#net.ipv6.conf.wlan0.use_tempaddr=2
# Enable the Magic SysRq key
# https://en.wikipedia.org/wiki/Magic_SysRq_key
kernel.sysrq = 1