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 =
|
2022-08-28 20:18:44 +01:00
|
|
|
mkEnableOption (lib.mdDoc "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 ];
|
|
|
|
};
|
|
|
|
}
|