Compare commits
11 Commits
2016-11-27
...
2016-12-11
| Author | SHA1 | Date | |
|---|---|---|---|
| b9d19017c0 | |||
| f91e72ef50 | |||
| 5f089977a2 | |||
|
|
83aa5af2fc | ||
| 79d97ca438 | |||
| 04869f63f7 | |||
| be47e7c285 | |||
| a2ee566f15 | |||
| b51c69d330 | |||
| a75b126b5a | |||
|
|
eabe0db746 |
@@ -195,6 +195,10 @@ in
|
|||||||
r6d.config-generator = {
|
r6d.config-generator = {
|
||||||
docker = true;
|
docker = true;
|
||||||
radicale = true;
|
radicale = true;
|
||||||
|
tincAddress = "192.168.12.6/24";
|
||||||
|
tincExtraConfig = ''
|
||||||
|
ConnectTo = rollo_dubronetwork_fr
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
(mkIf comp.isRadx {
|
(mkIf comp.isRadx {
|
||||||
@@ -211,6 +215,12 @@ in
|
|||||||
kibana = true;
|
kibana = true;
|
||||||
print = true;
|
print = true;
|
||||||
rabbitmq = true;
|
rabbitmq = true;
|
||||||
|
tincAddress = "192.168.12.3/24";
|
||||||
|
tincExtraConfig = ''
|
||||||
|
ConnectTo = monstre_dubronetwork_fr
|
||||||
|
ConnectTo = rollo_dubronetwork_fr
|
||||||
|
ConnectTo = ocean_prunetwork_fr
|
||||||
|
'';
|
||||||
virtualbox = true;
|
virtualbox = true;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
@@ -231,7 +241,11 @@ in
|
|||||||
r6d.config-generator = {
|
r6d.config-generator = {
|
||||||
laptop = true;
|
laptop = true;
|
||||||
tincAddress = "192.168.12.2/24";
|
tincAddress = "192.168.12.2/24";
|
||||||
tincExtraConfig = "ConnectTo = phenom_dubronetwork_fr";
|
tincExtraConfig = ''
|
||||||
|
ConnectTo = monstre_dubronetwork_fr
|
||||||
|
ConnectTo = rollo_dubronetwork_fr
|
||||||
|
ConnectTo = ocean_prunetwork_fr
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
(mkIf comp.isMonstre {
|
(mkIf comp.isMonstre {
|
||||||
@@ -244,6 +258,11 @@ in
|
|||||||
fail2ban = true;
|
fail2ban = true;
|
||||||
nix-serve-client = true;
|
nix-serve-client = true;
|
||||||
nixStoreProxyCache = true;
|
nixStoreProxyCache = true;
|
||||||
|
tincAddress = "192.168.12.4/24";
|
||||||
|
tincExtraConfig = ''
|
||||||
|
ConnectTo = rollo_dubronetwork_fr
|
||||||
|
ConnectTo = ocean_prunetwork_fr
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
(mkIf comp.isNeoNomade{
|
(mkIf comp.isNeoNomade{
|
||||||
@@ -254,6 +273,12 @@ in
|
|||||||
|
|
||||||
r6d.config-generator = {
|
r6d.config-generator = {
|
||||||
laptop = true;
|
laptop = true;
|
||||||
|
tincAddress = "192.168.12.7/24";
|
||||||
|
tincExtraConfig = ''
|
||||||
|
ConnectTo = monstre_dubronetwork_fr
|
||||||
|
ConnectTo = rollo_dubronetwork_fr
|
||||||
|
ConnectTo = ocean_prunetwork_fr
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
(mkIf comp.isNomade{
|
(mkIf comp.isNomade{
|
||||||
@@ -285,6 +310,11 @@ in
|
|||||||
nix-serve-server = true;
|
nix-serve-server = true;
|
||||||
edition-photo = true;
|
edition-photo = true;
|
||||||
tincAddress = "192.168.12.1/24";
|
tincAddress = "192.168.12.1/24";
|
||||||
|
tincExtraConfig = ''
|
||||||
|
ConnectTo = monstre_dubronetwork_fr
|
||||||
|
ConnectTo = rollo_dubronetwork_fr
|
||||||
|
ConnectTo = ocean_prunetwork_fr
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
(mkIf comp.isRollo {
|
(mkIf comp.isRollo {
|
||||||
@@ -299,6 +329,10 @@ in
|
|||||||
mailboxes = true;
|
mailboxes = true;
|
||||||
murmur = true;
|
murmur = true;
|
||||||
online-ipv6 = true;
|
online-ipv6 = true;
|
||||||
|
tincAddress = "192.168.12.5/24";
|
||||||
|
tincExtraConfig = ''
|
||||||
|
ConnectTo = ocean_prunetwork_fr
|
||||||
|
'';
|
||||||
znc = true;
|
znc = true;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ mkIf profiles.isDesktop {
|
|||||||
jekyll # générateur statique de site web
|
jekyll # générateur statique de site web
|
||||||
odpdown # conversion md -> presentation ODP : https://github.com/thorstenb/odpdown
|
odpdown # conversion md -> presentation ODP : https://github.com/thorstenb/odpdown
|
||||||
pandoc
|
pandoc
|
||||||
|
haskellPackages.pandoc-citeproc
|
||||||
texlive.combined.scheme-full # distribution LaTeX
|
texlive.combined.scheme-full # distribution LaTeX
|
||||||
#texLive # distribution LaTeX de base
|
#texLive # distribution LaTeX de base
|
||||||
#texLiveBeamer # paquets et extensions pour Beamer
|
#texLiveBeamer # paquets et extensions pour Beamer
|
||||||
|
|||||||
@@ -34,6 +34,8 @@ mkIf cfg.developpement {
|
|||||||
subversion
|
subversion
|
||||||
|
|
||||||
## Haskell
|
## Haskell
|
||||||
|
cabal-install # fournis cabal
|
||||||
|
cabal2nix # convertir les .cabal en .nix
|
||||||
ghc # pour les appels depuis les scripts
|
ghc # pour les appels depuis les scripts
|
||||||
stack
|
stack
|
||||||
|
|
||||||
|
|||||||
@@ -22,5 +22,8 @@ mkIf true {
|
|||||||
"net.ipv6.conf.default.temp_prefered_lft" = 3600; # 1 heure
|
"net.ipv6.conf.default.temp_prefered_lft" = 3600; # 1 heure
|
||||||
"net.ipv6.conf.default.temp_valid_lft" = 3600; # 1 heure
|
"net.ipv6.conf.default.temp_valid_lft" = 3600; # 1 heure
|
||||||
"net.ipv6.conf.default.use_tempaddr" = 2; # activé
|
"net.ipv6.conf.default.use_tempaddr" = 2; # activé
|
||||||
};
|
|
||||||
|
"net.ipv6.conf.all.forwarding" = true;
|
||||||
|
"net.ipv6.conf.default.forwarding" = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,4 +15,9 @@ mkIf true {
|
|||||||
networking.extraHosts = ''
|
networking.extraHosts = ''
|
||||||
127.0.0.1 ${config.networking.hostName}
|
127.0.0.1 ${config.networking.hostName}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
boot.kernel.sysctl = {
|
||||||
|
"net.ipv4.conf.all.forwarding" = true;
|
||||||
|
"net.ipv4.conf.default.forwarding" = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user