mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +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 ];
|
|
};
|
|
}
|