You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
526 B
Nix
26 lines
526 B
Nix
9 years ago
|
{ config, lib, pkgs, ... }:
|
||
9 years ago
|
|
||
9 years ago
|
let
|
||
|
inherit (lib) mkIf;
|
||
|
cfg = config.r6d.config-generator;
|
||
9 years ago
|
computers = config.r6d.computers;
|
||
|
profiles = config.r6d.profiles;
|
||
|
|
||
|
in mkIf cfg.laptop {
|
||
9 years ago
|
# Paquets spécifiques pour un ordinateur portable
|
||
|
|
||
9 years ago
|
## Activation d'un gestionnaire de réseau
|
||
|
networking.networkmanager.enable = true;
|
||
9 years ago
|
|
||
9 years ago
|
hardware.bluetooth.enable = true;
|
||
9 years ago
|
|
||
9 years ago
|
environment.systemPackages = with pkgs; [
|
||
9 years ago
|
networkmanagerapplet
|
||
|
];
|
||
9 years ago
|
|
||
9 years ago
|
services.xserver.synaptics = {
|
||
9 years ago
|
enable = true;
|
||
|
twoFingerScroll = true;
|
||
|
};
|
||
9 years ago
|
}
|