31 lines
475 B
Nix
31 lines
475 B
Nix
# 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 ];
|
|
};
|
|
}
|