about summary refs log tree commit diff
path: root/nixos/modules/programs
diff options
context:
space:
mode:
authorOPNA2608 <christoph.neidahl@gmail.com>2022-04-23 16:24:36 +0200
committerOPNA2608 <christoph.neidahl@gmail.com>2022-04-23 16:25:19 +0200
commit9497f081a1031632fee9c915941736b33b111b45 (patch)
tree823981092bac67c4e956b0899e3d19ff03c640ac /nixos/modules/programs
parent6872544c1becda21a6c878aed8d1c3384c8ec10b (diff)
nixos/haguichi: init
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r--nixos/modules/programs/haguichi.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/nixos/modules/programs/haguichi.nix b/nixos/modules/programs/haguichi.nix
new file mode 100644
index 0000000000000..4f48551cf1dac
--- /dev/null
+++ b/nixos/modules/programs/haguichi.nix
@@ -0,0 +1,15 @@
+{ lib, pkgs, config, ... }:
+
+with lib;
+
+{
+  options.programs.haguichi = {
+    enable = mkEnableOption "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;
+  };
+}