18 lines
407 B
Nix
18 lines
407 B
Nix
{ options, config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
with lib.plusultra;
|
|
let cfg = config.plusultra.desktop.addons.keyring;
|
|
in
|
|
{
|
|
options.plusultra.desktop.addons.keyring = with types; {
|
|
enable = mkBoolOpt false "Whether to enable the gnome keyring.";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
services.gnome.gnome-keyring.enable = true;
|
|
|
|
environment.systemPackages = with pkgs; [ gnome.seahorse ];
|
|
};
|
|
}
|