1 { config, lib, pkgs, ... }:
4 cfg = config.services.logmein-hamachi;
14 services.logmein-hamachi.enable = lib.mkOption {
15 type = lib.types.bool;
18 Whether to enable LogMeIn Hamachi, a proprietary
19 (closed source) commercial VPN software.
28 config = lib.mkIf cfg.enable {
30 systemd.services.logmein-hamachi = {
31 description = "LogMeIn Hamachi Daemon";
33 wantedBy = [ "multi-user.target" ];
34 after = [ "network.target" ];
38 ExecStart = "${pkgs.logmein-hamachi}/bin/hamachid";
42 environment.systemPackages = [ pkgs.logmein-hamachi ];