Compare commits
14 Commits
Author | SHA1 | Date |
---|---|---|
|
2c1f1d373b | 9 years ago |
|
6ff5e008a7 | 9 years ago |
|
e0cd512f87 | 9 years ago |
|
51787ab25b | 9 years ago |
|
7e9a8131a3 | 9 years ago |
|
ba9cdb7518 | 9 years ago |
|
bd70296e68 | 9 years ago |
|
50083e7d93 | 9 years ago |
|
a5f3e7f87d | 9 years ago |
|
3180832a1f | 9 years ago |
|
49dfc7eeb0 | 9 years ago |
|
0bfca5b71d | 9 years ago |
|
62b1537353 | 9 years ago |
|
c8444defd3 | 9 years ago |
@ -1,16 +0,0 @@
|
|||||||
{ config, libs, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
];
|
|
||||||
|
|
||||||
config = mkIf config.r6d.config-generator.docker {
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
# Ecosystème Docker
|
|
||||||
docker
|
|
||||||
python27Packages.docker_compose
|
|
||||||
];
|
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,13 +0,0 @@
|
|||||||
{ config, libs, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
];
|
|
||||||
|
|
||||||
config = mkIf config.r6d.config-generator.jeux {
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
# Jeux
|
|
||||||
urbanterror
|
|
||||||
];
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,16 +0,0 @@
|
|||||||
{ config, libs, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
];
|
|
||||||
|
|
||||||
config = mkIf config.r6d.config-generator.virtualbox {
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
linuxPackages.virtualbox
|
|
||||||
linuxPackages.virtualboxGuestAdditions
|
|
||||||
];
|
|
||||||
|
|
||||||
virtualisation.virtualbox.host.enable = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,24 +0,0 @@
|
|||||||
{ config, libs, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
# Paquets spécifiques pour un ordinateur portable
|
|
||||||
|
|
||||||
config = mkIf config.r6d.config-generator.laptop {
|
|
||||||
|
|
||||||
networking = {
|
|
||||||
#wireless.enable = true; # Enables wireless support via wpa_supplicant
|
|
||||||
networkmanager.enable = true; # Activation d'un gestionnaire de réseau
|
|
||||||
};
|
|
||||||
|
|
||||||
hardware.bluetooth.enable = true;
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs;[
|
|
||||||
networkmanagerapplet
|
|
||||||
];
|
|
||||||
|
|
||||||
services.xserver.synaptics = {
|
|
||||||
enable = true;
|
|
||||||
twoFingerScroll = true;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,41 +0,0 @@
|
|||||||
{ config, libs, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
# Adminsys
|
|
||||||
iotop
|
|
||||||
lm_sensors
|
|
||||||
lshw
|
|
||||||
lsof
|
|
||||||
ntp
|
|
||||||
powerline-fonts
|
|
||||||
powertop
|
|
||||||
python27Packages.ansible2
|
|
||||||
python27Packages.glances
|
|
||||||
usbutils
|
|
||||||
|
|
||||||
# DNS
|
|
||||||
unbound
|
|
||||||
|
|
||||||
# Compression
|
|
||||||
lz4
|
|
||||||
lzop
|
|
||||||
|
|
||||||
# Mail
|
|
||||||
postfix
|
|
||||||
|
|
||||||
# Systeme de fichier
|
|
||||||
curlftpfs
|
|
||||||
gparted
|
|
||||||
inotify-tools
|
|
||||||
nfs-utils
|
|
||||||
ntfs3g
|
|
||||||
sshfsFuse
|
|
||||||
|
|
||||||
#
|
|
||||||
unetbootin # création de clefs USB bootables
|
|
||||||
];
|
|
||||||
}
|
|
@ -1,37 +0,0 @@
|
|||||||
{ config, libs, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
# Bureautique
|
|
||||||
aspell aspellDicts.fr
|
|
||||||
dia
|
|
||||||
gnumeric
|
|
||||||
|
|
||||||
## Cartes mentales
|
|
||||||
freemind
|
|
||||||
|
|
||||||
## Editeur de texte
|
|
||||||
lyx # surcouche WISIWIM à LaTeX
|
|
||||||
textadept # un éditeur de texte facile pour copier-coller graphique
|
|
||||||
zim # outil de prise de notes, wiki de bureau
|
|
||||||
|
|
||||||
## Visionneuse
|
|
||||||
kde5.okular # pdf
|
|
||||||
mcomix # livres (cbr, liste d'images), gestion d'une bibliothèque
|
|
||||||
pdfpc # pdf
|
|
||||||
qpdfview # pdf
|
|
||||||
|
|
||||||
## Convertisseurs (texte -> <autre format>)
|
|
||||||
gnuplot # générateur de graphes à partir de données numériques
|
|
||||||
graphviz # dot, neato : traçage de graphes (carré, rond)
|
|
||||||
jekyll # générateur statique de site web
|
|
||||||
pandoc
|
|
||||||
#texLiveFull # distribution LaTeX
|
|
||||||
texLive # distribution LaTeX de base
|
|
||||||
texLiveBeamer # paquets et extensions pour Beamer
|
|
||||||
texLiveModerncv # paquets pour la classe Modern CV
|
|
||||||
];
|
|
||||||
}
|
|
@ -1,18 +0,0 @@
|
|||||||
{ config, libs, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
# CAO
|
|
||||||
## Modélisation 3D
|
|
||||||
freecad # modélisation de pièces en 3D
|
|
||||||
povray # Rendu tracé de rayon, utilisé dans freecad
|
|
||||||
|
|
||||||
## Électricité & Électronique
|
|
||||||
fritzing # schéma de câblages "jolis"
|
|
||||||
kicad # ensemble d'outils de conception électronique
|
|
||||||
qucs # simulateur de circuits électroniques
|
|
||||||
];
|
|
||||||
}
|
|
@ -1,28 +0,0 @@
|
|||||||
{ config, libs, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
# Clients Internet
|
|
||||||
|
|
||||||
## Navigateur & Réseaux sociaux
|
|
||||||
chromium
|
|
||||||
firefox
|
|
||||||
python27Packages.turses # client twitter en ncurse
|
|
||||||
|
|
||||||
## Mail & Discussion (texte, audio)
|
|
||||||
clawsMail
|
|
||||||
kde5.quasselClient
|
|
||||||
mumble
|
|
||||||
mutt
|
|
||||||
pidgin
|
|
||||||
thunderbird
|
|
||||||
|
|
||||||
# Transfert de fichier
|
|
||||||
filezilla
|
|
||||||
transmission_gtk
|
|
||||||
transmission_remote_gtk
|
|
||||||
];
|
|
||||||
}
|
|
@ -1,34 +0,0 @@
|
|||||||
{ config, libs, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
# Base de données
|
|
||||||
pgadmin
|
|
||||||
|
|
||||||
# Développement
|
|
||||||
cloc
|
|
||||||
idea.idea-community
|
|
||||||
|
|
||||||
## Gestion des sources
|
|
||||||
# git # déjà présent dans "base"
|
|
||||||
git-cola
|
|
||||||
mercurial
|
|
||||||
subversion
|
|
||||||
|
|
||||||
## Haskell
|
|
||||||
ghc
|
|
||||||
stack
|
|
||||||
|
|
||||||
## Rust
|
|
||||||
cargo # récupération des dépendances + compilation projet rust
|
|
||||||
rustPlatform.rustc
|
|
||||||
|
|
||||||
## Visualisation & outils de diff
|
|
||||||
gource
|
|
||||||
meld
|
|
||||||
vbindiff # diff de fichier hexadecimaux avec vim
|
|
||||||
];
|
|
||||||
}
|
|
@ -1,12 +0,0 @@
|
|||||||
{ config, libs, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
# Gestion de données géographiques
|
|
||||||
josm # outil de contribution à OpenStreetMap
|
|
||||||
viking # analyse de topo, gestion de données GPS
|
|
||||||
];
|
|
||||||
}
|
|
@ -1,35 +0,0 @@
|
|||||||
{ config, libs, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
# Multimedia
|
|
||||||
picard
|
|
||||||
|
|
||||||
## Audio
|
|
||||||
audacity # montage audio
|
|
||||||
beep
|
|
||||||
cmus # lecteur audio console
|
|
||||||
easytag # gestion des métadonnées des fichiers musicaux
|
|
||||||
espeak # synthèse vocale
|
|
||||||
paprefs # préferences pulseaudio
|
|
||||||
pavucontrol # mixer pulseaudio
|
|
||||||
vorbis-tools # codec
|
|
||||||
|
|
||||||
## Video
|
|
||||||
smplayer # lecteur vidéo
|
|
||||||
vlc # lecteur vidéo
|
|
||||||
|
|
||||||
## Photo & Dessin vectoriel
|
|
||||||
gimp # logiciel d'édition/montage/retouche photo
|
|
||||||
inkscape # édition d'image vectorielle (svg & autre)
|
|
||||||
imagemagick # modification image en CLI
|
|
||||||
kde4.ksnapshot
|
|
||||||
rawtherapee # développemen de photos en RAW
|
|
||||||
|
|
||||||
### TEST d'outil de gestion de catalogue de photos
|
|
||||||
kde4.digikam # gestionnaire de bibliothèque de photo
|
|
||||||
];
|
|
||||||
}
|
|
@ -1,30 +0,0 @@
|
|||||||
{ config, libs, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
# Outils réseau
|
|
||||||
iperf
|
|
||||||
iptraf-ng
|
|
||||||
nload
|
|
||||||
telnet
|
|
||||||
vsftpd
|
|
||||||
|
|
||||||
## Diagnostic
|
|
||||||
arp-scan
|
|
||||||
wireshark
|
|
||||||
whois
|
|
||||||
|
|
||||||
## Routage
|
|
||||||
quagga
|
|
||||||
|
|
||||||
## Tunnel
|
|
||||||
openvpn
|
|
||||||
tinc
|
|
||||||
];
|
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [5201]; # iperf
|
|
||||||
networking.firewall.allowedUDPPorts = [5201]; # iperf
|
|
||||||
}
|
|
@ -1,15 +0,0 @@
|
|||||||
{ config, libs, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
# Securité
|
|
||||||
gnome3.seahorse # gestionnaire graphique de clef GPG
|
|
||||||
pass # gestionnaire de mots de passe
|
|
||||||
pwgen # générateur de mots de passe
|
|
||||||
slock # vérouiller l''écran. "cannot disable the out-of-memory killer for this process (make sure to suid or sgid slock)" --> en root
|
|
||||||
yubikey-personalization-gui # utilisation de la clef Yubikey
|
|
||||||
];
|
|
||||||
}
|
|
@ -1,80 +1,5 @@
|
|||||||
{ config, libs, pkgs, ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ # applications :
|
# Conservé pour assurer la transition en douceur de l'unification des dépots base et desktop.
|
||||||
#./activation-manuelle/app-docker.nix # pour activer docker
|
|
||||||
#./activation-manuelle/app-jeux.nix # permettant de jouer ;)
|
|
||||||
#./activation-manuelle/app-virtualbox.nix # pour exploiter virtualbox
|
|
||||||
#./activation-manuelle/laptop.nix # appli & configuration adaptée pour un PC portable
|
|
||||||
./app-adminsys.nix # pour gérer le système dans son ensemble et les services
|
|
||||||
./app-bureautique.nix # dédiée à la bureautique (traitement de texte, dessin, ...)
|
|
||||||
./app-cao.nix # de conception assisté par ordinateur & modélisation
|
|
||||||
./app-client-internet.nix # pour accéder & utiliser des ressources par le réseau
|
|
||||||
./app-dev.nix # utilisée pour développer des programmes/scripts
|
|
||||||
./app-geo.nix # utilisée pour manipuler les données géographiques
|
|
||||||
./app-multimedia.nix # pour gérer le son, l'image et la vidéo
|
|
||||||
./app-network.nix # de gestion, de diagnostique & surveillance réseau
|
|
||||||
./app-securite.nix # relatives à la sécurité (chiffrement, gpg, mots de passe, ...)
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
cowsay
|
|
||||||
gcc # pour les appels depuis les scripts
|
|
||||||
gnome.gnome_icon_theme # thème d'icone - semble fonctionner avec spaceFM
|
|
||||||
sakura # terminal
|
|
||||||
samba
|
|
||||||
spaceFM # gestionnaire de fichiers
|
|
||||||
sqlitebrowser
|
|
||||||
taskwarrior # gestionnaire de tâches en console
|
|
||||||
udevil
|
|
||||||
vifm
|
|
||||||
wmname
|
|
||||||
xclip # manipulation du clipboard X depuis la console
|
|
||||||
];
|
|
||||||
|
|
||||||
nixpkgs.config.packageOverrides = pkgs: {
|
|
||||||
clawsMail = pkgs.clawsMail.override { enablePluginFancy = true; };
|
|
||||||
mumble = pkgs.mumble.override { pulseSupport = true; };
|
|
||||||
};
|
|
||||||
|
|
||||||
# Enable the X11 windowing system.
|
|
||||||
services.xserver = {
|
|
||||||
enable = true;
|
|
||||||
layout = "fr";
|
|
||||||
xkbOptions = "eurosign:e";
|
|
||||||
displayManager.lightdm.enable = true;
|
|
||||||
windowManager.awesome.enable = true;
|
|
||||||
startGnuPGAgent = true;
|
|
||||||
startOpenSSHAgent = false; # pas compatible avec l'agent GnuPG
|
|
||||||
inputClassSections = [''
|
|
||||||
Identifier "Marble Mouse"
|
|
||||||
MatchProduct "Logitech USB Trackball"
|
|
||||||
MatchIsPointer "on"
|
|
||||||
MatchDevicePath "/dev/input/event*"
|
|
||||||
Driver "evdev"
|
|
||||||
# Physical button #s: A b D - - - - B C b = A & D simultaneously; - = no button
|
|
||||||
#Option "ButtonMapping" "1 8 3 4 5 6 7 2 2" # For right-hand placement
|
|
||||||
#Option "ButtonMapping" "3 8 1 4 5 6 7 2 2" # For left-hand placement
|
|
||||||
|
|
||||||
# EmulateWheel refers to emulating a mouse wheel using Marble Mouse trackball.
|
|
||||||
Option "EmulateWheel" "true"
|
|
||||||
Option "EmulateWheelButton" "8" # Factory default; use "9" for left-side placement.
|
|
||||||
|
|
||||||
# EmulateWheelInertia specifies how far (in pixels) the pointer must move to
|
|
||||||
# generate button press/release events in wheel emulation mode.
|
|
||||||
Option "EmulateWheelInertia" "10" # Factory default: 50
|
|
||||||
|
|
||||||
Option "ZAxisMapping" "4 5"
|
|
||||||
Option "XAxisMapping" "6 7" # Disable this for vertical-only scrolling.
|
|
||||||
# Emulate3Buttons refers to the act of pressing buttons A and D
|
|
||||||
# simultaneously to emulate a middle-click or wheel click.
|
|
||||||
Option "Emulate3Buttons" "true" # Factory default.
|
|
||||||
''];
|
|
||||||
};
|
|
||||||
|
|
||||||
hardware.pulseaudio = {
|
|
||||||
enable = true;
|
|
||||||
support32Bit = true;
|
|
||||||
};
|
|
||||||
environment.etc."pulse/daemon.conf".text = "flat-volumes = no";
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue