Compare commits
7 Commits
2016-11-11
...
2016-11-27
| Author | SHA1 | Date | |
|---|---|---|---|
| b2e44a7b75 | |||
| 59982b296b | |||
| 4b35c7c20a | |||
| c0509692b4 | |||
| 772ce45d5e | |||
|
|
f38a182c4d | ||
| 4bb890da7a |
@@ -210,6 +210,7 @@ in
|
|||||||
hydra-core = true;
|
hydra-core = true;
|
||||||
kibana = true;
|
kibana = true;
|
||||||
print = true;
|
print = true;
|
||||||
|
rabbitmq = true;
|
||||||
virtualbox = true;
|
virtualbox = true;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ mkIf profiles.isDesktop {
|
|||||||
|
|
||||||
## Editeur de texte
|
## Editeur de texte
|
||||||
lyx # surcouche WISIWIM à LaTeX
|
lyx # surcouche WISIWIM à LaTeX
|
||||||
|
focuswriter # outil pour l'écriture
|
||||||
textadept # un éditeur de texte facile pour copier-coller graphique
|
textadept # un éditeur de texte facile pour copier-coller graphique
|
||||||
zim # outil de prise de notes, wiki de bureau
|
zim # outil de prise de notes, wiki de bureau
|
||||||
|
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ mkIf cfg.developpement {
|
|||||||
cloc
|
cloc
|
||||||
idea.idea-community # IntelliJ IDEA
|
idea.idea-community # IntelliJ IDEA
|
||||||
gcc # pour les appels depuis les scripts
|
gcc # pour les appels depuis les scripts
|
||||||
|
maven
|
||||||
|
|
||||||
# Documentation
|
# Documentation
|
||||||
zeal # consulter la documentation hors ligne
|
zeal # consulter la documentation hors ligne
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ in
|
|||||||
gnupg # GPG
|
gnupg # GPG
|
||||||
gpm # prise en charge de la souris en console
|
gpm # prise en charge de la souris en console
|
||||||
htop # monitoring
|
htop # monitoring
|
||||||
|
lsb-release # pour les scripts qui utilisent cet outil
|
||||||
#libressl # librairie pour faire du TLS et les algorithmes de crypto par OpenBSD
|
#libressl # librairie pour faire du TLS et les algorithmes de crypto par OpenBSD
|
||||||
ncdu # outil pour voir l'espace utilisé
|
ncdu # outil pour voir l'espace utilisé
|
||||||
nmap # outil de scan de port réseau
|
nmap # outil de scan de port réseau
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ in
|
|||||||
./service-haveged.nix
|
./service-haveged.nix
|
||||||
./service-monitoring.nix
|
./service-monitoring.nix
|
||||||
./service-ssh.nix
|
./service-ssh.nix
|
||||||
|
./udev.nix
|
||||||
|
|
||||||
# commandées par config-generator
|
# commandées par config-generator
|
||||||
## option de configuration spécifique
|
## option de configuration spécifique
|
||||||
|
|||||||
@@ -11,6 +11,8 @@ mkIf cfg.hydra-builder {
|
|||||||
|
|
||||||
# Paquets
|
# Paquets
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
qemu
|
||||||
|
kvm
|
||||||
];
|
];
|
||||||
|
|
||||||
# Services
|
# Services
|
||||||
@@ -18,6 +20,7 @@ mkIf cfg.hydra-builder {
|
|||||||
## Services de virtualisation utilisé pour les tests hydra
|
## Services de virtualisation utilisé pour les tests hydra
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
virtualisation.libvirtd.enable = true;
|
virtualisation.libvirtd.enable = true;
|
||||||
|
virtualisation.libvirtd.enableKVM = true;
|
||||||
#virtualisation.virtualbox.guest.enable = true;
|
#virtualisation.virtualbox.guest.enable = true;
|
||||||
virtualisation.virtualbox.host.enable = true;
|
virtualisation.virtualbox.host.enable = true;
|
||||||
virtualisation.virtualbox.host.headless = true;
|
virtualisation.virtualbox.host.headless = true;
|
||||||
|
|||||||
18
public/udev.nix
Normal file
18
public/udev.nix
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
inherit (lib) mkIf mkMerge mkThenElse;
|
||||||
|
cfg = config.r6d.config-generator;
|
||||||
|
computers = config.r6d.computers;
|
||||||
|
profiles = config.r6d.profiles;
|
||||||
|
in
|
||||||
|
|
||||||
|
{
|
||||||
|
# Définition du IO Scheduler pour les SSD
|
||||||
|
services.udev.extraRules = ''
|
||||||
|
# set deadline scheduler for non-rotating disks
|
||||||
|
# according to https://wiki.debian.org/SSDOptimization, deadline is preferred over noop
|
||||||
|
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="deadline"
|
||||||
|
'';
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user