nixpkgs/nixos/modules/programs/haguichi.nix

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

14 lines
334 B
Nix
Raw Normal View History

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