Compare commits

...

15 Commits

6 changed files with 57 additions and 5 deletions

View File

@@ -195,6 +195,10 @@ in
r6d.config-generator = {
docker = true;
radicale = true;
tincAddress = "192.168.12.6/24";
tincExtraConfig = ''
ConnectTo = rollo_dubronetwork_fr
'';
};
})
(mkIf comp.isRadx {
@@ -211,6 +215,12 @@ in
kibana = true;
print = true;
rabbitmq = true;
tincAddress = "192.168.12.3/24";
tincExtraConfig = ''
ConnectTo = monstre_dubronetwork_fr
ConnectTo = rollo_dubronetwork_fr
ConnectTo = ocean_prunetwork_fr
'';
virtualbox = true;
};
})
@@ -231,7 +241,11 @@ in
r6d.config-generator = {
laptop = true;
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 {
@@ -244,6 +258,11 @@ in
fail2ban = true;
nix-serve-client = true;
nixStoreProxyCache = true;
tincAddress = "192.168.12.4/24";
tincExtraConfig = ''
ConnectTo = rollo_dubronetwork_fr
ConnectTo = ocean_prunetwork_fr
'';
};
})
(mkIf comp.isNeoNomade{
@@ -254,6 +273,12 @@ in
r6d.config-generator = {
laptop = true;
tincAddress = "192.168.12.7/24";
tincExtraConfig = ''
ConnectTo = monstre_dubronetwork_fr
ConnectTo = rollo_dubronetwork_fr
ConnectTo = ocean_prunetwork_fr
'';
};
})
(mkIf comp.isNomade{
@@ -285,6 +310,11 @@ in
nix-serve-server = true;
edition-photo = true;
tincAddress = "192.168.12.1/24";
tincExtraConfig = ''
ConnectTo = monstre_dubronetwork_fr
ConnectTo = rollo_dubronetwork_fr
ConnectTo = ocean_prunetwork_fr
'';
};
})
(mkIf comp.isRollo {
@@ -299,6 +329,10 @@ in
mailboxes = true;
murmur = true;
online-ipv6 = true;
tincAddress = "192.168.12.5/24";
tincExtraConfig = ''
ConnectTo = ocean_prunetwork_fr
'';
znc = true;
};
})

View File

@@ -23,6 +23,9 @@ mkIf true {
python27Packages.glances
usbutils
# Backup
duplicity
# Compression
lz4
lzop
@@ -30,6 +33,7 @@ mkIf true {
# Système de fichier
## Montage de filesystem
curlftpfs # ftp
hubicfuse # montage hubic
ntfs3g # ntfs
sshfsFuse # ssh

View File

@@ -12,9 +12,9 @@ mkIf profiles.isDesktop {
# Paquets
environment.systemPackages = with pkgs; [
# Bureautique
aspell aspellDicts.fr
dia
gnumeric
aspell aspellDicts.fr # correction d'ortographe
dia # dessin & schéma technique
gnumeric # tableur
## Cartes mentales
freemind
@@ -38,6 +38,7 @@ mkIf profiles.isDesktop {
jekyll # générateur statique de site web
odpdown # conversion md -> presentation ODP : https://github.com/thorstenb/odpdown
pandoc
haskellPackages.pandoc-citeproc
texlive.combined.scheme-full # distribution LaTeX
#texLive # distribution LaTeX de base
#texLiveBeamer # paquets et extensions pour Beamer

View File

@@ -34,9 +34,14 @@ mkIf cfg.developpement {
subversion
## Haskell
cabal-install # fournis cabal
cabal2nix # convertir les .cabal en .nix
ghc # pour les appels depuis les scripts
stack
## Mono
mono46 # interpréteur .NET
## Rust
cargo # récupération des dépendances + compilation projet rust
rustc # pour les appels depuis les scripts

View File

@@ -22,5 +22,8 @@ mkIf true {
"net.ipv6.conf.default.temp_prefered_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.all.forwarding" = true;
"net.ipv6.conf.default.forwarding" = true;
};
}

View File

@@ -15,4 +15,9 @@ mkIf true {
networking.extraHosts = ''
127.0.0.1 ${config.networking.hostName}
'';
boot.kernel.sysctl = {
"net.ipv4.conf.all.forwarding" = true;
"net.ipv4.conf.default.forwarding" = true;
};
}