Compare commits

...

4 Commits

Author SHA1 Message Date
542105d6e3 lien vers article "Privacy Extension IPv6 Addresses" 2016-05-06 17:25:28 +02:00
606a6738c9 activation des adresses ipv6 temporaires
-> il y a donc plusieurs @IPv6 affectées à une machine.
Une adresse qui ne devrait pas changer entre les reboot +
une adresse qui change régulièrement (préférence 1h, valide 1jour)
2016-05-06 17:20:00 +02:00
Yves Dubromelle
2227277cbb 'which', outil utile 2016-05-04 21:51:52 +02:00
Yves Dubromelle
07669adcf3 ligne rouge moche à 80c -> ligne à fond gris à 80 et à partir de 120 2016-05-04 14:56:47 +02:00
4 changed files with 22 additions and 1 deletions

View File

@@ -4,5 +4,6 @@
imports = [
./tools.nix
./localisation.nix
./networking.nix
];
}

18
networking.nix Normal file
View File

@@ -0,0 +1,18 @@
{ config, pkgs, ... }:
{
# Utilisation d'adresse IPv6 temporaire
# https://blog.linitx.com/control-privacy-addressing-ipv6-linux/
# http://www.tldp.org/HOWTO/Linux+IPv6-HOWTO/x1092.html
boot.kernel.sysctl = {
"net.ipv6.conf.all.temp_prefered_lft" = 3600; # 1 heure
"net.ipv6.conf.all.temp_valid_lft" = 86400; # 1 jour
"net.ipv6.conf.all.use_tempaddr" = 2; # activé
"net.ipv6.conf.default.temp_prefered_lft" = 3600; # 1 heure
"net.ipv6.conf.default.temp_valid_lft" = 86400; # 1 jour
"net.ipv6.conf.default.use_tempaddr" = 2; # activé
};
}

View File

@@ -22,6 +22,7 @@
tree
(import ./vim.nix)
wget
which
];
shellAliases = {
byobu = "byobu-tmux";

3
vimrc
View File

@@ -24,10 +24,11 @@ set shiftround "Round indent to nearest shiftwidth multiple
"""""" Réglages cosmétiques
set background=dark
set cc=80
set number
highlight ColorColumn ctermbg=8
"Détection de la profondeur des couleurs (8bits)
if &t_Co > 8
colorscheme wombat256mod
let &colorcolumn="80,".join(range(120,999),",")
highlight ColorColumn ctermbg=235 guibg=#2c2d27
endif