nixpkgs-suyu/nixos/modules/programs/hamster.nix

16 lines
345 B
Nix
Raw Normal View History

2020-06-10 17:31:46 +02:00
{ config, lib, pkgs, ... }:
with lib;
{
meta.maintainers = pkgs.hamster.meta.maintainers;
2020-06-10 17:31:46 +02:00
options.programs.hamster.enable =
mkEnableOption "hamster, a time tracking program";
2020-06-10 17:31:46 +02:00
config = lib.mkIf config.programs.hamster.enable {
environment.systemPackages = [ pkgs.hamster ];
services.dbus.packages = [ pkgs.hamster ];
};
}