mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 09:03:48 +00:00
42 lines
615 B
Nix
42 lines
615 B
Nix
# Seahorse daemon.
|
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
gnome3 = config.environment.gnome3.packageSet;
|
|
in
|
|
{
|
|
|
|
###### interface
|
|
|
|
options = {
|
|
|
|
services.gnome3.seahorse = {
|
|
|
|
enable = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
description = ''
|
|
Whether to enable Seahorse search provider for the GNOME Shell activity search.
|
|
'';
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
###### implementation
|
|
|
|
config = mkIf config.services.gnome3.seahorse.enable {
|
|
|
|
environment.systemPackages = [ gnome3.seahorse ];
|
|
|
|
services.dbus.packages = [ gnome3.seahorse ];
|
|
|
|
};
|
|
|
|
}
|