mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 17:14:33 +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;
|
|
};
|
|
}
|