nixos/haguichi: init

This commit is contained in:
OPNA2608 2022-04-23 16:24:36 +02:00
parent 6872544c1b
commit 9497f081a1
2 changed files with 16 additions and 0 deletions

View file

@ -165,6 +165,7 @@
./programs/gpaste.nix
./programs/gnupg.nix
./programs/gphoto2.nix
./programs/haguichi.nix
./programs/hamster.nix
./programs/htop.nix
./programs/iftop.nix

View file

@ -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;
};
}