nixpkgs/nixos/modules/programs/haguichi.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
342 B
Nix
Raw Permalink Normal View History

2022-04-23 16:24:36 +02:00
{
lib,
pkgs,
config,
...
}:
{
options.programs.haguichi = {
enable = lib.mkEnableOption "Haguichi, a Linux GUI frontend to the proprietary LogMeIn Hamachi";
2022-04-23 16:24:36 +02:00
};
config = lib.mkIf config.programs.haguichi.enable {
2022-04-23 16:24:36 +02:00
environment.systemPackages = with pkgs; [ haguichi ];
services.logmein-hamachi.enable = true;
};
}