Compare commits

..

7 Commits

Author SHA1 Message Date
3ccc8678ce ajout outil wifi pour profil laptop 2016-10-10 22:11:44 +02:00
Yves Dubromelle
215005d927 installation des outils réseaux sur toutes les machines 2016-10-09 18:43:01 +02:00
Yves Dubromelle
9fb124116d phenom: permet de modifier les photo + profil laptop (pour carte wifi) 2016-10-06 21:47:44 +02:00
Yves Dubromelle
d65ee1bd2c bonnes pratiques selon nixos 2016-10-05 00:01:33 +02:00
Yves Dubromelle
dce7b12a33 ajout pmisc 2016-10-05 00:01:33 +02:00
826595cb6c radx peut imprimer 2016-09-27 23:08:04 +02:00
b633d3c794 les machines @home peuvent utiliser le cache sur monstre 2016-09-27 23:07:44 +02:00
6 changed files with 12 additions and 6 deletions

View File

@@ -16,7 +16,7 @@ mkIf cfg.nix-serve-client {
(mkIf (profiles.isDubronetwork && (! computers.isPedro) && (! computers.isRollo)) "http://nix-cache.dubronetwork.fr:5001")
(mkIf profiles.isPrunetwork "https://cache.nixos.org/")
(mkIf (profiles.isPrunetwork && !profiles.isServer) "http://192.168.1.20:5000")
(mkIf (profiles.isPrunetwork && !profiles.isServer) "http://nix-cache.dubronetwork.fr:5001")
];
extraOptions = ''
connect-timeout = 5

View File

@@ -181,6 +181,7 @@ in
};
r6d.config-generator = {
print = true;
virtualbox = true;
};
})
@@ -251,6 +252,8 @@ in
r6d.config-generator = {
nix-serve-server = true;
laptop = true;
edition-photo = true;
};
})
(mkIf comp.isRollo {

View File

@@ -1,10 +1,10 @@
{ config, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.r6d.config-generator;
computers = config.r6d.computers;
profiles = config.r6d.profiles;
mkIf = pkgs.lib.mkIf;
mkIf = lib.mkIf;
in
{

View File

@@ -7,7 +7,8 @@ let
profiles = config.r6d.profiles;
in
mkIf profiles.isDesktop {
mkIf true {
#mkIf profiles.isDesktop {
# Paquets
environment.systemPackages = with pkgs; [
@@ -19,7 +20,7 @@ mkIf profiles.isDesktop {
## Diagnostic
arp-scan
wireshark
#wireshark
whois
];

View File

@@ -39,6 +39,7 @@ in
p7zip # compression de fichier
parted # partitionnement de disque
pciutils
psmisc # fournis les utilitaires comme killall, fuser, pstree
python # python -- python -m SimpleHTTPServer 8000
python34Packages.glances # monitoring
pwgen # générateur de mot de passe

View File

@@ -21,6 +21,7 @@ mkIf cfg.laptop {
# Paquets
environment.systemPackages = with pkgs; [
networkmanagerapplet
networkmanagerapplet # gestionnaire réseau graphique + console (nm-applet + nmtui)
wirelesstools # fournis iwconfig
];
}