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
506 B
Nix
26 lines
506 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
inherit (lib) mkIf;
|
|
cfg = config.r6d.config-generator;
|
|
computers = config.r6d.computers;
|
|
profiles = config.r6d.profiles;
|
|
in
|
|
|
|
mkIf cfg.laptop {
|
|
|
|
# Gestion spécifique pour PC portable
|
|
|
|
## Gestion de l'énergie
|
|
powerManagement.cpuFreqGovernor = "powersave";
|
|
|
|
## Activation d'un gestionnaire de réseau
|
|
networking.networkmanager.enable = true;
|
|
|
|
hardware.bluetooth.enable = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
networkmanagerapplet
|
|
];
|
|
}
|