summary refs log tree commit diff
path: root/nixos/modules/services/desktops/zeitgeist.nix
blob: cf7dd5fe3a13c54432d581bed995e9f1bd42ae7a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Zeitgeist

{ config, lib, pkgs, ... }:

with lib;

{

  meta = {
    maintainers = with maintainers; [ worldofpeace ];
  };

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