Compare commits
9 Commits
2017-01-21
...
2017-01-26
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
84802f8604 | ||
|
|
28092fb029 | ||
| 79a3fd779b | |||
| fcf73d4249 | |||
| ce7e111128 | |||
|
|
c0832c7ccb | ||
|
|
10a42e4cbd | ||
|
|
f0627eb800 | ||
|
|
ae4c1edee0 |
5
Makefile
5
Makefile
@@ -25,6 +25,9 @@ optimise:
|
||||
rebuild-switch:
|
||||
nixos-rebuild switch --fallback --show-trace
|
||||
|
||||
show-roots:
|
||||
nix-store --gc --print-roots
|
||||
|
||||
store-repair:
|
||||
nix-store --verify --check-contents --repair
|
||||
|
||||
@@ -45,7 +48,7 @@ push: submodules-push
|
||||
|
||||
submodules-update:
|
||||
#git submodule update --remote
|
||||
$(GSF) git co master
|
||||
#$(GSF) git co master
|
||||
$(GSF) git ff
|
||||
$(GSF) git gc --auto
|
||||
|
||||
|
||||
@@ -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
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
@@ -260,6 +260,7 @@ in
|
||||
ConnectTo = rollo_dubronetwork_fr
|
||||
ConnectTo = ocean_prunetwork_fr
|
||||
'';
|
||||
nix-serve-server = true;
|
||||
};
|
||||
})
|
||||
(mkIf comp.isMonstre {
|
||||
@@ -272,6 +273,7 @@ in
|
||||
fail2ban = true;
|
||||
murmur = true;
|
||||
nix-serve-client = true;
|
||||
nix-serve-server = true;
|
||||
nixStoreProxyCache = true;
|
||||
tincAddress = "192.168.12.4/24";
|
||||
tincExtraConfig = ''
|
||||
|
||||
@@ -18,6 +18,7 @@ mkIf cfg.developpement-haskell {
|
||||
stack # pour les paquets en LTS de stackage
|
||||
|
||||
haskellPackages.stylish-haskell # qualité de code
|
||||
haskellPackages.hindent
|
||||
|
||||
# Application perso
|
||||
haskellPackages.hahp
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -11,6 +11,7 @@ mkIf true {
|
||||
|
||||
# Paquets
|
||||
environment.systemPackages = with pkgs; [
|
||||
bc
|
||||
mailutils
|
||||
];
|
||||
|
||||
@@ -20,6 +21,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