Compare commits
4 Commits
2a2e988c5e
...
542105d6e3
| Author | SHA1 | Date | |
|---|---|---|---|
| 542105d6e3 | |||
| 606a6738c9 | |||
|
|
2227277cbb | ||
|
|
07669adcf3 |
1
base.nix
1
base.nix
@@ -4,5 +4,6 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./tools.nix
|
./tools.nix
|
||||||
./localisation.nix
|
./localisation.nix
|
||||||
|
./networking.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
18
networking.nix
Normal file
18
networking.nix
Normal 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é
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -22,6 +22,7 @@
|
|||||||
tree
|
tree
|
||||||
(import ./vim.nix)
|
(import ./vim.nix)
|
||||||
wget
|
wget
|
||||||
|
which
|
||||||
];
|
];
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
byobu = "byobu-tmux";
|
byobu = "byobu-tmux";
|
||||||
|
|||||||
3
vimrc
3
vimrc
@@ -24,10 +24,11 @@ set shiftround "Round indent to nearest shiftwidth multiple
|
|||||||
|
|
||||||
"""""" Réglages cosmétiques
|
"""""" Réglages cosmétiques
|
||||||
set background=dark
|
set background=dark
|
||||||
set cc=80
|
|
||||||
set number
|
set number
|
||||||
highlight ColorColumn ctermbg=8
|
highlight ColorColumn ctermbg=8
|
||||||
"Détection de la profondeur des couleurs (8bits)
|
"Détection de la profondeur des couleurs (8bits)
|
||||||
if &t_Co > 8
|
if &t_Co > 8
|
||||||
colorscheme wombat256mod
|
colorscheme wombat256mod
|
||||||
|
let &colorcolumn="80,".join(range(120,999),",")
|
||||||
|
highlight ColorColumn ctermbg=235 guibg=#2c2d27
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user