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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
357 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 (lib.mdDoc "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 ];
};
}