forked from mirrors/nixpkgs
Merge pull request #45095 from worldofpeace/zeitgeist-service
nixos/zeitgeist: init
This commit is contained in:
commit
7bfb3e163e
|
@ -247,6 +247,7 @@
|
|||
./services/desktops/gnome3/tracker-miners.nix
|
||||
./services/desktops/profile-sync-daemon.nix
|
||||
./services/desktops/telepathy.nix
|
||||
./services/desktops/zeitgeist.nix
|
||||
./services/development/bloop.nix
|
||||
./services/development/hoogle.nix
|
||||
./services/editors/emacs.nix
|
||||
|
|
26
nixos/modules/services/desktops/zeitgeist.nix
Normal file
26
nixos/modules/services/desktops/zeitgeist.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
# 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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue