depot/third_party/nixpkgs/nixos/modules/services/desktops/zeitgeist.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

31 lines
553 B
Nix

# Zeitgeist
{ config, lib, pkgs, ... }:
with lib;
{
meta = with lib; {
maintainers = with maintainers; [ ] ++ teams.pantheon.members;
};
###### interface
options = {
services.zeitgeist = {
enable = mkEnableOption "zeitgeist, a service which logs the users' activities and events";
};
};
###### implementation
config = mkIf config.services.zeitgeist.enable {
environment.systemPackages = [ pkgs.zeitgeist ];
services.dbus.packages = [ pkgs.zeitgeist ];
systemd.packages = [ pkgs.zeitgeist ];
};
}