about summary refs log tree commit diff
path: root/nixpkgs/nixos/modules/services/desktops/zeitgeist.nix
blob: 0eb2a4c9c371b70ad1a8a1771dcba4781a892e00 (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 = with lib; {
    maintainers = with maintainers; [ ] ++ teams.pantheon.members;
  };

  ###### interface

  options = {
    services.zeitgeist = {
      enable = mkEnableOption (lib.mdDoc "zeitgeist");
    };
  };

  ###### implementation

  config = mkIf config.services.zeitgeist.enable {

    environment.systemPackages = [ pkgs.zeitgeist ];

    services.dbus.packages = [ pkgs.zeitgeist ];

    systemd.packages = [ pkgs.zeitgeist ];
  };
}