mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
14 lines
338 B
Nix
14 lines
338 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 ];
|
|
};
|
|
}
|