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:
parent
f07573df41
commit
5beb2a373b
1 changed files with 5 additions and 8 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue