2018-08-16 00:05:30 +01:00
|
|
|
# Zeitgeist
|
|
|
|
|
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
2020-04-02 01:16:24 +01:00
|
|
|
|
|
|
|
meta = {
|
2021-05-05 10:25:45 +01:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-02 01:16:24 +01:00
|
|
|
};
|
|
|
|
|
2018-08-16 00:05:30 +01:00
|
|
|
###### interface
|
|
|
|
|
|
|
|
options = {
|
|
|
|
services.zeitgeist = {
|
|
|
|
enable = mkEnableOption "zeitgeist";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
###### implementation
|
|
|
|
|
|
|
|
config = mkIf config.services.zeitgeist.enable {
|
|
|
|
|
|
|
|
environment.systemPackages = [ pkgs.zeitgeist ];
|
|
|
|
|
|
|
|
services.dbus.packages = [ pkgs.zeitgeist ];
|
|
|
|
|
|
|
|
systemd.packages = [ pkgs.zeitgeist ];
|
|
|
|
};
|
|
|
|
}
|