depot/third_party/nixpkgs/nixos/modules/programs/hamster.nix

17 lines
342 B
Nix

{
config,
lib,
pkgs,
...
}:
{
meta.maintainers = pkgs.hamster.meta.maintainers;
options.programs.hamster.enable = lib.mkEnableOption "hamster, a time tracking program";
config = lib.mkIf config.programs.hamster.enable {
environment.systemPackages = [ pkgs.hamster ];
services.dbus.packages = [ pkgs.hamster ];
};
}