nixos/haguichi: init
This commit is contained in:
@@ -165,6 +165,7 @@
|
|||||||
./programs/gpaste.nix
|
./programs/gpaste.nix
|
||||||
./programs/gnupg.nix
|
./programs/gnupg.nix
|
||||||
./programs/gphoto2.nix
|
./programs/gphoto2.nix
|
||||||
|
./programs/haguichi.nix
|
||||||
./programs/hamster.nix
|
./programs/hamster.nix
|
||||||
./programs/htop.nix
|
./programs/htop.nix
|
||||||
./programs/iftop.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;
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user