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