2020-06-10 17:31:46 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
2020-06-18 16:17:56 +02:00
|
|
|
meta.maintainers = pkgs.hamster.meta.maintainers;
|
2020-06-10 17:31:46 +02:00
|
|
|
|
|
|
|
options.programs.hamster.enable =
|
2021-07-04 23:16:41 +02:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|