diff --git a/users/alapshin/home/firefox.nix b/users/alapshin/home/firefox.nix index 47f0136..3f8b718 100644 --- a/users/alapshin/home/firefox.nix +++ b/users/alapshin/home/firefox.nix @@ -16,6 +16,14 @@ }; policies = { + # Needed for ActivityWatch Addon + "3rdparty" = { + "Extensions" = { + "{ef87d84c-2127-493f-b952-5b4e744245bc}" = { + "consentOfflineDataCollection" = true; + }; + }; + }; "Cookies" = { "Locked" = true; "Behavior" = "reject-tracker-and-partition-foreign"; @@ -67,6 +75,7 @@ (with pkgs.firefox-addons; [ linguist-translator ]) ++ (with pkgs.nur.repos.rycee.firefox-addons; [ awesome-rss + aw-watcher-web omnivore metamask sponsorblock diff --git a/users/alapshin/home/home.nix b/users/alapshin/home/home.nix index 8e6d22d..e0bb32e 100644 --- a/users/alapshin/home/home.nix +++ b/users/alapshin/home/home.nix @@ -22,6 +22,7 @@ # ./plasma.nix ./neovim.nix ./texlive.nix + ./timetracking.nix ./theming.nix ./packages.nix diff --git a/users/alapshin/home/timetracking.nix b/users/alapshin/home/timetracking.nix new file mode 100644 index 0000000..a2f1ddf --- /dev/null +++ b/users/alapshin/home/timetracking.nix @@ -0,0 +1,19 @@ +{ pkgs, ... }: + +{ + services.activitywatch = { + enable = true; + package = pkgs.aw-server-rust; + watchers = { + awatcher = { + package = pkgs.awatcher; + }; + aw-watcher-afk = { + package = pkgs.aw-watcher-afk; + }; + aw-watcher-window = { + package = pkgs.aw-watcher-window; + }; + }; + }; +}