2020-06-18 07:06:33 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2020-06-15 15:56:04 +00:00
|
|
|
meta.maintainers = pkgs.hamster.meta.maintainers;
|
2020-06-18 07:06:33 +00:00
|
|
|
|
|
|
|
options.programs.hamster.enable =
|
2024-05-15 15:35:15 +00:00
|
|
|
lib.mkEnableOption "hamster, a time tracking program";
|
2020-06-18 07:06:33 +00:00
|
|
|
|
|
|
|
config = lib.mkIf config.programs.hamster.enable {
|
|
|
|
environment.systemPackages = [ pkgs.hamster ];
|
|
|
|
services.dbus.packages = [ pkgs.hamster ];
|
|
|
|
};
|
|
|
|
}
|