mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
nixos/haguichi: init
This commit is contained in:
parent
6872544c1b
commit
9497f081a1
2 changed files with 16 additions and 0 deletions
|
@ -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