2020-06-10 16:31:46 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
2020-06-18 15:17:56 +01:00
|
|
|
meta.maintainers = pkgs.hamster.meta.maintainers;
|
2020-06-10 16:31:46 +01:00
|
|
|
|
|
|
|
options.programs.hamster.enable =
|
2021-07-04 22:16:41 +01:00
|
|
|
mkEnableOption "hamster, a time tracking program";
|
2020-06-10 16:31:46 +01:00
|
|
|
|
|
|
|
config = lib.mkIf config.programs.hamster.enable {
|
|
|
|
environment.systemPackages = [ pkgs.hamster ];
|
|
|
|
services.dbus.packages = [ pkgs.hamster ];
|
|
|
|
};
|
|
|
|
}
|