forked from mirrors/nixpkgs
nixos/haguichi: init
This commit is contained in:
parent
6872544c1b
commit
9497f081a1
|
@ -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
|
||||
|
|
15
nixos/modules/programs/haguichi.nix
Normal file
15
nixos/modules/programs/haguichi.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue