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.
21 lines
479 B
Nix
21 lines
479 B
Nix
{ config, lib, pkgs, ... }:
|
|
let
|
|
inherit (lib) mkIf;
|
|
cfg = config.r6d.config-generator;
|
|
in {
|
|
# Paquets spécifiques pour un ordinateur portable
|
|
|
|
networking.networkmanager.enable = cfg.laptop; # Activation d'un gestionnaire de réseau
|
|
|
|
hardware.bluetooth.enable = cfg.laptop;
|
|
|
|
environment.systemPackages = with pkgs; mkIf cfg.laptop [
|
|
networkmanagerapplet
|
|
];
|
|
|
|
services.xserver.synaptics = mkIf cfg.laptop {
|
|
enable = true;
|
|
twoFingerScroll = true;
|
|
};
|
|
}
|