mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
16 lines
349 B
Nix
16 lines
349 B
Nix
|
{ lib, pkgs, config, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
options.programs.haguichi = {
|
||
|
enable = mkEnableOption (lib.mdDoc "Haguichi, a Linux GUI frontend to the proprietary LogMeIn Hamachi");
|
||
|
};
|
||
|
|
||
|
config = mkIf config.programs.haguichi.enable {
|
||
|
environment.systemPackages = with pkgs; [ haguichi ];
|
||
|
|
||
|
services.logmein-hamachi.enable = true;
|
||
|
};
|
||
|
}
|