1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-02 23:21:02 +01:00

activitywatch: use mkPackageOption for service

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman 2025-11-22 14:01:32 -06:00
parent f07573df41
commit 5beb2a373b

View file

@ -141,15 +141,12 @@ in
options.services.activitywatch = {
enable = lib.mkEnableOption "ActivityWatch, an automated time tracker";
package = mkOption {
description = ''
Package containing [the Rust implementation of ActivityWatch
server](https://github.com/ActivityWatch/aw-server-rust).
package = lib.mkPackageOption pkgs "activitywatch" {
example = "pkgs.aw-server-rust";
extraDescription = ''
Specifically, this should be a package containing [the Rust implementation
of ActivityWatch server](https://github.com/ActivityWatch/aw-server-rust).
'';
type = lib.types.package;
default = pkgs.activitywatch;
defaultText = lib.literalExpression "pkgs.activitywatch";
example = lib.literalExpression "pkgs.aw-server-rust";
};
settings = mkOption {