mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
27 lines
403 B
Nix
27 lines
403 B
Nix
|
# Zeitgeist
|
||
|
|
||
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
###### 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 ];
|
||
|
};
|
||
|
}
|