depot/third_party/nixpkgs/nixos/modules/services/desktops/zeitgeist.nix

32 lines
510 B
Nix
Raw Normal View History

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