2018-08-16 00:05:30 +01:00
|
|
|
# Zeitgeist
|
|
|
|
|
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
2020-04-02 01:16:24 +01:00
|
|
|
|
2021-08-02 01:46:24 +01:00
|
|
|
meta = with lib; {
|
|
|
|
maintainers = with maintainers; [ ] ++ teams.pantheon.members;
|
2020-04-02 01:16:24 +01:00
|
|
|
};
|
|
|
|
|
2018-08-16 00:05:30 +01:00
|
|
|
###### interface
|
|
|
|
|
|
|
|
options = {
|
|
|
|
services.zeitgeist = {
|
2022-08-28 20:18:44 +01:00
|
|
|
enable = mkEnableOption (lib.mdDoc "zeitgeist");
|
2018-08-16 00:05:30 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
###### implementation
|
|
|
|
|
|
|
|
config = mkIf config.services.zeitgeist.enable {
|
|
|
|
|
|
|
|
environment.systemPackages = [ pkgs.zeitgeist ];
|
|
|
|
|
|
|
|
services.dbus.packages = [ pkgs.zeitgeist ];
|
|
|
|
|
|
|
|
systemd.packages = [ pkgs.zeitgeist ];
|
|
|
|
};
|
|
|
|
}
|