3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/programs/hamster.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
345 B
Nix
Raw Normal View History

2020-06-10 16:31:46 +01:00
{ config, lib, pkgs, ... }:
with lib;
{
meta.maintainers = pkgs.hamster.meta.maintainers;
2020-06-10 16:31:46 +01:00
options.programs.hamster.enable =
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 ];
};
}