hamster: init at 3.0.2

This commit is contained in:
Fabian Hauser
2020-06-10 17:31:46 +02:00
parent 8c22f78354
commit 9c95e8150a
5 changed files with 80 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
{ config, lib, pkgs, ... }:
with lib;
{
meta.maintainers = maintainers.fabianhauser;
options.programs.hamster.enable =
mkEnableOption "Whether to enable hamster time tracking.";
config = lib.mkIf config.programs.hamster.enable {
environment.systemPackages = [ pkgs.hamster ];
services.dbus.packages = [ pkgs.hamster ];
};
}