mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
32 lines
515 B
Nix
32 lines
515 B
Nix
# Zeitgeist
|
|
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
|
|
meta = {
|
|
teams = [ lib.teams.pantheon ];
|
|
};
|
|
|
|
###### interface
|
|
|
|
options = {
|
|
services.zeitgeist = {
|
|
enable = lib.mkEnableOption "zeitgeist, a service which logs the users' activities and events";
|
|
};
|
|
};
|
|
|
|
###### implementation
|
|
|
|
config = lib.mkIf config.services.zeitgeist.enable {
|
|
|
|
environment.systemPackages = [ pkgs.zeitgeist ];
|
|
|
|
services.dbus.packages = [ pkgs.zeitgeist ];
|
|
|
|
systemd.packages = [ pkgs.zeitgeist ];
|
|
};
|
|
}
|