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

16 lines
353 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 "Whether to enable hamster time tracking.";
config = lib.mkIf config.programs.hamster.enable {
environment.systemPackages = [ pkgs.hamster ];
services.dbus.packages = [ pkgs.hamster ];
};
}