1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/nixos/modules/services/desktops/zeitgeist.nix

32 lines
462 B
Nix
Raw Normal View History

2018-08-16 00:05:30 +01:00
# Zeitgeist
{ config, lib, pkgs, ... }:
with lib;
{
meta = {
maintainers = with maintainers; [ ];
};
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 ];
};
}