depot/third_party/nixpkgs/nixos/modules/services/desktops/zeitgeist.nix

32 lines
553 B
Nix
Raw Normal View History

# 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 ];
};
}