mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 01:51:24 +00:00
45 lines
641 B
Nix
45 lines
641 B
Nix
# Seahorse.
|
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
|
|
# Added 2019-08-27
|
|
imports = [
|
|
(mkRenamedOptionModule
|
|
[ "services" "gnome3" "seahorse" "enable" ]
|
|
[ "programs" "seahorse" "enable" ])
|
|
];
|
|
|
|
|
|
###### interface
|
|
|
|
options = {
|
|
|
|
programs.seahorse = {
|
|
|
|
enable = mkEnableOption "Seahorse, a GNOME application for managing encryption keys and passwords in the GNOME Keyring";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
###### implementation
|
|
|
|
config = mkIf config.programs.seahorse.enable {
|
|
|
|
environment.systemPackages = [
|
|
pkgs.gnome3.seahorse
|
|
];
|
|
|
|
services.dbus.packages = [
|
|
pkgs.gnome3.seahorse
|
|
];
|
|
|
|
};
|
|
|
|
}
|