Compare commits
1 Commits
2017-01-26
...
2017-01-20
| Author | SHA1 | Date | |
|---|---|---|---|
| 09f970266e |
5
Makefile
5
Makefile
@@ -25,9 +25,6 @@ optimise:
|
|||||||
rebuild-switch:
|
rebuild-switch:
|
||||||
nixos-rebuild switch --fallback --show-trace
|
nixos-rebuild switch --fallback --show-trace
|
||||||
|
|
||||||
show-roots:
|
|
||||||
nix-store --gc --print-roots
|
|
||||||
|
|
||||||
store-repair:
|
store-repair:
|
||||||
nix-store --verify --check-contents --repair
|
nix-store --verify --check-contents --repair
|
||||||
|
|
||||||
@@ -48,7 +45,7 @@ push: submodules-push
|
|||||||
|
|
||||||
submodules-update:
|
submodules-update:
|
||||||
#git submodule update --remote
|
#git submodule update --remote
|
||||||
#$(GSF) git co master
|
$(GSF) git co master
|
||||||
$(GSF) git ff
|
$(GSF) git ff
|
||||||
$(GSF) git gc --auto
|
$(GSF) git gc --auto
|
||||||
|
|
||||||
|
|||||||
@@ -19,13 +19,9 @@ mkIf cfg.nix-serve-server {
|
|||||||
# Réseau
|
# Réseau
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
allowedTCPPorts = [
|
allowedTCPPorts = [
|
||||||
#5000 # ouvert sur tinc
|
5000
|
||||||
];
|
];
|
||||||
allowedUDPPorts = [
|
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
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -49,9 +49,8 @@ in
|
|||||||
hydra-builder = mkEnableOption "Profil pour une machine qui compile pour hydra.";
|
hydra-builder = mkEnableOption "Profil pour une machine qui compile pour hydra.";
|
||||||
hydra-core = mkEnableOption "Profil pour un serveur hydra.";
|
hydra-core = mkEnableOption "Profil pour un serveur hydra.";
|
||||||
kibana = mkEnableOption "Profil pour activer le service kibana.";
|
kibana = mkEnableOption "Profil pour activer le service kibana.";
|
||||||
jetbrains-licensed = mkEnableOption "Profil pour la suite de développement Jetbrains payante (sous-ensemble).";
|
|
||||||
jeux = mkEnableOption "Profil pour les jeux vidéos.";
|
jeux = mkEnableOption "Profil pour les jeux vidéos.";
|
||||||
laptop = mkEnableOption "Profil pour les outils spécifiques aux ordinateurs portables.";
|
laptop = mkEnableOption "Profil pour les outils spécifiques aux ordinateurs portables..";
|
||||||
locate = mkEnableOption "Profil pour activer la fonction locate.";
|
locate = mkEnableOption "Profil pour activer la fonction locate.";
|
||||||
mailboxes = mkEnableOption "Profil pour stocker les mails dans des boîtes aux lettres.";
|
mailboxes = mkEnableOption "Profil pour stocker les mails dans des boîtes aux lettres.";
|
||||||
murmur = mkEnableOption "Profil pour activer un serveur Mumble (murmur)";
|
murmur = mkEnableOption "Profil pour activer un serveur Mumble (murmur)";
|
||||||
@@ -252,7 +251,6 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
r6d.config-generator = {
|
r6d.config-generator = {
|
||||||
jetbrains-licensed = true;
|
|
||||||
laptop = true;
|
laptop = true;
|
||||||
tincAddress = "192.168.12.2/24";
|
tincAddress = "192.168.12.2/24";
|
||||||
tincExtraConfig = ''
|
tincExtraConfig = ''
|
||||||
@@ -260,7 +258,6 @@ in
|
|||||||
ConnectTo = rollo_dubronetwork_fr
|
ConnectTo = rollo_dubronetwork_fr
|
||||||
ConnectTo = ocean_prunetwork_fr
|
ConnectTo = ocean_prunetwork_fr
|
||||||
'';
|
'';
|
||||||
nix-serve-server = true;
|
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
(mkIf comp.isMonstre {
|
(mkIf comp.isMonstre {
|
||||||
@@ -273,7 +270,6 @@ in
|
|||||||
fail2ban = true;
|
fail2ban = true;
|
||||||
murmur = true;
|
murmur = true;
|
||||||
nix-serve-client = true;
|
nix-serve-client = true;
|
||||||
nix-serve-server = true;
|
|
||||||
nixStoreProxyCache = true;
|
nixStoreProxyCache = true;
|
||||||
tincAddress = "192.168.12.4/24";
|
tincAddress = "192.168.12.4/24";
|
||||||
tincExtraConfig = ''
|
tincExtraConfig = ''
|
||||||
@@ -323,8 +319,6 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
r6d.config-generator = {
|
r6d.config-generator = {
|
||||||
jetbrains-licensed = true;
|
|
||||||
hydra-core = true;
|
|
||||||
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";
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ mkIf true {
|
|||||||
exfat # Pour monter les FAT avec Fuse
|
exfat # Pour monter les FAT avec Fuse
|
||||||
hubicfuse # montage hubic
|
hubicfuse # montage hubic
|
||||||
ntfs3g # ntfs
|
ntfs3g # ntfs
|
||||||
squashfsTools # squashfs
|
|
||||||
sshfsFuse # ssh
|
sshfsFuse # ssh
|
||||||
|
|
||||||
## Gestion de FS
|
## Gestion de FS
|
||||||
@@ -44,7 +43,6 @@ mkIf true {
|
|||||||
|
|
||||||
## Exploitation FS
|
## Exploitation FS
|
||||||
inotify-tools # être notifié lorsque le contenu d'un répertoire change
|
inotify-tools # être notifié lorsque le contenu d'un répertoire change
|
||||||
detox # The detox utility renames files to make them easier to work with.
|
|
||||||
duff # outil de recherche de fichiers en doublons
|
duff # outil de recherche de fichiers en doublons
|
||||||
rdfind # recherche de fichiers doublons pour remplacement par hard/soft link
|
rdfind # recherche de fichiers doublons pour remplacement par hard/soft link
|
||||||
|
|
||||||
|
|||||||
@@ -18,14 +18,8 @@ mkIf cfg.developpement-haskell {
|
|||||||
stack # pour les paquets en LTS de stackage
|
stack # pour les paquets en LTS de stackage
|
||||||
|
|
||||||
haskellPackages.stylish-haskell # qualité de code
|
haskellPackages.stylish-haskell # qualité de code
|
||||||
haskellPackages.hindent
|
|
||||||
|
|
||||||
# Application perso
|
# Application perso
|
||||||
haskellPackages.hahp
|
haskellPackages.hahp
|
||||||
|
|
||||||
# Application
|
|
||||||
haskellPackages.autoproc # ? procmail
|
|
||||||
haskellPackages.darcs # Gestionnaire de version éponyme
|
|
||||||
haskellPackages.turtle # genre shell-scripting
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,19 +0,0 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
let
|
|
||||||
inherit (lib) mkIf mkMerge mkThenElse;
|
|
||||||
cfg = config.r6d.config-generator;
|
|
||||||
computers = config.r6d.computers;
|
|
||||||
profiles = config.r6d.profiles;
|
|
||||||
in
|
|
||||||
|
|
||||||
mkIf cfg.jetbrains-licensed {
|
|
||||||
|
|
||||||
# Paquets
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
idea.idea-ultimate
|
|
||||||
idea.clion
|
|
||||||
idea.datagrip
|
|
||||||
idea.pycharm-professional
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -28,7 +28,6 @@ in
|
|||||||
./app-developpement.nix # développer des programmes/scripts
|
./app-developpement.nix # développer des programmes/scripts
|
||||||
./app-developpement-haskell.nix # développer en haskell
|
./app-developpement-haskell.nix # développer en haskell
|
||||||
./app-developpement-java.nix # développer en java
|
./app-developpement-java.nix # développer en java
|
||||||
./app-developpement-jetbrains.nix # outils jetbrains
|
|
||||||
./app-developpement-rust.nix # développer en rust
|
./app-developpement-rust.nix # développer en rust
|
||||||
./app-docker.nix # activer docker
|
./app-docker.nix # activer docker
|
||||||
./app-edition-musique.nix # modifier les fichiers musicaux
|
./app-edition-musique.nix # modifier les fichiers musicaux
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ mkIf true {
|
|||||||
|
|
||||||
# Paquets
|
# Paquets
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
bc
|
|
||||||
mailutils
|
mailutils
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -21,7 +20,6 @@ mkIf true {
|
|||||||
services.munin-node = {
|
services.munin-node = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
systemd.services.munin-node.serviceConfig.TimeoutStartSec = "3min";
|
|
||||||
|
|
||||||
## Munin server -- generate /var/www/munin
|
## Munin server -- generate /var/www/munin
|
||||||
services.munin-cron = {
|
services.munin-cron = {
|
||||||
|
|||||||
Reference in New Issue
Block a user