Commit 6b15547

HPCesia <me@hpcesia.com>
2025-07-28 13:52:18
feat: add activity watcher
1 parent 3ae17d0
Changed files (3)
home/linux/gui/firefox/default.nix
@@ -46,6 +46,7 @@
         immersive-translate
         firefox-color
         plasma-integration
+        aw-watcher-web
       ];
       settings = {
         # No First Run
home/linux/gui/vscode/baseExtensions.nix
@@ -36,4 +36,10 @@ pkgs: (with pkgs.vscode-extensions;
       version = "1.5.0";
       sha256 = "fOdeUuB4jFL0LvGsLcjz5EQslD8jRRGslbumMo3cZCs=";
     }
+    {
+      name = "aw-watcher-vscode";
+      publisher = "activitywatch";
+      version = "0.5.0";
+      sha256 = "OrdIhgNXpEbLXYVJAx/jpt2c6Qa5jf8FNxqrbu5FfFs=";
+    }
   ])
home/linux/gui/activitywatch.nix
@@ -0,0 +1,19 @@
+{pkgs, ...}: let
+  port = 5600;
+in {
+  services.activitywatch = {
+    enable = true;
+    package = pkgs.aw-server-rust;
+    settings = {
+      inherit port;
+    };
+    watchers = {
+      awatcher = {
+        package = pkgs.awatcher;
+        settings = {
+          server.port = port;
+        };
+      };
+    };
+  };
+}