Compare commits
12 Commits
2017-01-21
...
2017-01-26
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ce1cae293c | ||
|
|
1c58705adf | ||
|
|
1cc773c034 | ||
|
|
58c32c79fb | ||
| d1a5228a92 | |||
| 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 = ''
|
||||
|
||||
@@ -36,6 +36,7 @@ mkIf true {
|
||||
exfat # Pour monter les FAT avec Fuse
|
||||
hubicfuse # montage hubic
|
||||
ntfs3g # ntfs
|
||||
squashfsTools # squashfs
|
||||
sshfsFuse # ssh
|
||||
|
||||
## Gestion de FS
|
||||
@@ -43,6 +44,7 @@ mkIf true {
|
||||
|
||||
## Exploitation FS
|
||||
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
|
||||
rdfind # recherche de fichiers doublons pour remplacement par hard/soft link
|
||||
|
||||
|
||||
@@ -18,8 +18,14 @@ mkIf cfg.developpement-haskell {
|
||||
stack # pour les paquets en LTS de stackage
|
||||
|
||||
haskellPackages.stylish-haskell # qualité de code
|
||||
haskellPackages.hindent
|
||||
|
||||
# Application perso
|
||||
haskellPackages.hahp
|
||||
|
||||
# Application
|
||||
haskellPackages.autoproc # ? procmail
|
||||
haskellPackages.darcs # Gestionnaire de version éponyme
|
||||
haskellPackages.turtle # genre shell-scripting
|
||||
];
|
||||
}
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -13,6 +13,7 @@ mkIf profiles.isDesktop {
|
||||
hardware.pulseaudio = {
|
||||
enable = true;
|
||||
support32Bit = true;
|
||||
daemon.config = { flat-volumes = "no"; };
|
||||
};
|
||||
environment.etc."pulse/daemon.conf".text = "flat-volumes = no";
|
||||
#environment.etc."pulse/daemon.conf".text = "flat-volumes = no";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user