+service gpm pour la souris en console

This commit is contained in:
Yves Dubromelle
2017-07-05 22:02:33 +02:00
parent fcc1cba9fb
commit 196cc008c8
2 changed files with 15 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ in
{
imports = [
# installées systématiquement
./gpm.nix
./haveged.nix
./monitoring-munin.nix
./ssh.nix

14
services/gpm.nix Normal file
View File

@@ -0,0 +1,14 @@
{ config, lib, pkgs, ... }:
let
inherit (lib) mkIf mkMerge mkThenElse;
annuaire = config.r6d.machines;
currentMachine = annuaire."${config.networking.hostName}";
flags = currentMachine.configurationFlags;
in
mkIf true {
# prise en charge de la souris en console
services.gpm.enable = true;
}