From e8d0ccd4839a1d2e12bd83ba1a2cbd3a584aa695 Mon Sep 17 00:00:00 2001 From: Jean-Pierre PRUNARET Date: Fri, 3 Jun 2016 15:21:20 +0200 Subject: [PATCH] =?UTF-8?q?ajout=20d'une=20expression=20laptop=20inspir?= =?UTF-8?q?=C3=A9e=20de=20la=20conf=20de=20latitude?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- activation-manuelle/laptop.nix | 22 ++++++++++++++++++++++ desktop.nix | 4 +++- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 activation-manuelle/laptop.nix diff --git a/activation-manuelle/laptop.nix b/activation-manuelle/laptop.nix new file mode 100644 index 0000000..3c8cc3a --- /dev/null +++ b/activation-manuelle/laptop.nix @@ -0,0 +1,22 @@ +{ config, libs, pkgs, ... }: + +{ + # Paquets spécifiques pour un ordinateur portable + + 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; + }; + +} diff --git a/desktop.nix b/desktop.nix index fbc06a3..7958b7c 100644 --- a/desktop.nix +++ b/desktop.nix @@ -2,7 +2,9 @@ { imports = [ # applications : - #./activation-manuelle/app-jeux.nix # permettant de jouer ;) + #./activation-manuelle/app-docker.nix # pour activer docker + #./activation-manuelle/app-jeux.nix # permettant de jouer ;) + #./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