2016-07-29 12:41:37 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
2016-05-08 18:58:12 +02:00
|
|
|
|
2016-07-29 12:41:37 +02:00
|
|
|
let
|
2016-08-12 12:46:36 +02:00
|
|
|
inherit (lib) mkIf mkMerge mkThenElse;
|
2016-07-29 12:41:37 +02:00
|
|
|
cfg = config.r6d.config-generator;
|
|
|
|
|
computers = config.r6d.computers;
|
|
|
|
|
profiles = config.r6d.profiles;
|
|
|
|
|
in
|
|
|
|
|
|
2016-08-14 10:27:17 +02:00
|
|
|
mkIf true {
|
2016-05-08 18:58:12 +02:00
|
|
|
|
2016-08-12 12:46:36 +02:00
|
|
|
# Paquets
|
2016-05-08 18:58:12 +02:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
|
# Adminsys
|
|
|
|
|
iotop
|
|
|
|
|
lm_sensors
|
|
|
|
|
lshw
|
|
|
|
|
lsof
|
|
|
|
|
ntp
|
|
|
|
|
powerline-fonts
|
|
|
|
|
powertop
|
|
|
|
|
python27Packages.ansible2
|
|
|
|
|
python27Packages.glances
|
|
|
|
|
usbutils
|
2016-05-17 17:06:11 +02:00
|
|
|
|
2016-06-13 01:38:10 +02:00
|
|
|
# Compression
|
|
|
|
|
lz4
|
2016-07-09 18:40:12 +02:00
|
|
|
lzop
|
2016-06-13 01:38:10 +02:00
|
|
|
|
2016-07-11 14:26:06 +02:00
|
|
|
# Système de fichier
|
2016-08-14 00:12:14 +02:00
|
|
|
## Montage de filesystem
|
|
|
|
|
curlftpfs # ftp
|
|
|
|
|
ntfs3g # ntfs
|
|
|
|
|
sshfsFuse # ssh
|
|
|
|
|
|
|
|
|
|
## Gestion de FS
|
2016-05-17 17:06:11 +02:00
|
|
|
nfs-utils
|
2016-08-14 00:12:14 +02:00
|
|
|
|
2016-08-24 12:30:43 +02:00
|
|
|
## Gestion de fichier
|
|
|
|
|
duff # outil de recherche de fichiers en doublons
|
|
|
|
|
|
2016-08-14 00:12:14 +02:00
|
|
|
## Exploitation FS
|
|
|
|
|
inotify-tools # être notifié lorsque le contenu d'un répertoire change
|
|
|
|
|
rdfind # recherche de fichiers doublons pour remplacement par hard/soft link
|
2016-08-24 12:30:43 +02:00
|
|
|
|
2016-08-15 02:47:53 +02:00
|
|
|
(mkIf profiles.isDesktop
|
|
|
|
|
## Gestion de FS
|
|
|
|
|
gparted # Gestion graphique de partitions
|
|
|
|
|
)
|
|
|
|
|
(mkIf profiles.isDesktop
|
|
|
|
|
unetbootin # création de clefs USB bootables
|
|
|
|
|
)
|
2016-05-08 18:58:12 +02:00
|
|
|
];
|
|
|
|
|
}
|