diff --git a/services/default.nix b/services/default.nix index 3f5ec9c..74b9d0a 100644 --- a/services/default.nix +++ b/services/default.nix @@ -10,6 +10,7 @@ in { imports = [ # installées systématiquement + ./gpm.nix ./haveged.nix ./monitoring-munin.nix ./ssh.nix diff --git a/services/gpm.nix b/services/gpm.nix new file mode 100644 index 0000000..6bbcb44 --- /dev/null +++ b/services/gpm.nix @@ -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; +}