Compare commits
4 Commits
2017-01-21
...
2017-01-22
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c0832c7ccb | ||
|
|
10a42e4cbd | ||
|
|
f0627eb800 | ||
|
|
ae4c1edee0 |
@@ -19,9 +19,13 @@ mkIf cfg.nix-serve-server {
|
||||
# Réseau
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [
|
||||
5000
|
||||
#5000 # ouvert sur tinc
|
||||
];
|
||||
allowedUDPPorts = [
|
||||
];
|
||||
extraCommands = ''
|
||||
iptables -A INPUT -i tinc.grudunet -p tcp --dport 5000 -j ACCEPT
|
||||
ip6tables -A INPUT -i tinc.grudunet -p tcp --dport 5000 -j ACCEPT
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
@@ -272,6 +272,7 @@ in
|
||||
fail2ban = true;
|
||||
murmur = true;
|
||||
nix-serve-client = true;
|
||||
nix-serve-server = true;
|
||||
nixStoreProxyCache = true;
|
||||
tincAddress = "192.168.12.4/24";
|
||||
tincExtraConfig = ''
|
||||
|
||||
@@ -28,6 +28,7 @@ in
|
||||
./app-developpement.nix # développer des programmes/scripts
|
||||
./app-developpement-haskell.nix # développer en haskell
|
||||
./app-developpement-java.nix # développer en java
|
||||
./app-developpement-jetbrains.nix # outils jetbrains
|
||||
./app-developpement-rust.nix # développer en rust
|
||||
./app-docker.nix # activer docker
|
||||
./app-edition-musique.nix # modifier les fichiers musicaux
|
||||
|
||||
@@ -20,6 +20,7 @@ mkIf true {
|
||||
services.munin-node = {
|
||||
enable = true;
|
||||
};
|
||||
systemd.services.munin-node.serviceConfig.TimeoutStartSec = "3min";
|
||||
|
||||
## Munin server -- generate /var/www/munin
|
||||
services.munin-cron = {
|
||||
|
||||
Reference in New Issue
Block a user