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 ];
|
||
|
};
|
||
|
}
|