2020-04-24 23:36:52 +00:00
|
|
|
# Zeitgeist
|
|
|
|
|
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
meta = with lib; {
|
|
|
|
maintainers = with maintainers; [ ] ++ teams.pantheon.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
###### interface
|
|
|
|
|
|
|
|
options = {
|
|
|
|
services.zeitgeist = {
|
2022-09-09 14:08:57 +00:00
|
|
|
enable = mkEnableOption (lib.mdDoc "zeitgeist");
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
###### implementation
|
|
|
|
|
|
|
|
config = mkIf config.services.zeitgeist.enable {
|
|
|
|
|
|
|
|
environment.systemPackages = [ pkgs.zeitgeist ];
|
|
|
|
|
|
|
|
services.dbus.packages = [ pkgs.zeitgeist ];
|
|
|
|
|
|
|
|
systemd.packages = [ pkgs.zeitgeist ];
|
|
|
|
};
|
|
|
|
}
|