mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
14 lines
334 B
Nix
14 lines
334 B
Nix
{ lib, pkgs, config, ... }:
|
|
|
|
{
|
|
options.programs.haguichi = {
|
|
enable = lib.mkEnableOption "Haguichi, a Linux GUI frontend to the proprietary LogMeIn Hamachi";
|
|
};
|
|
|
|
config = lib.mkIf config.programs.haguichi.enable {
|
|
environment.systemPackages = with pkgs; [ haguichi ];
|
|
|
|
services.logmein-hamachi.enable = true;
|
|
};
|
|
}
|