This repository has been archived on 2023-08-08. You can view files and clone it, but cannot push or open issues or pull requests.
nil/modules/system/keyring.nix

14 lines
344 B
Nix
Raw Normal View History

2022-07-16 22:48:31 +00:00
{ config, lib, pkgs, ... }:
2022-08-14 02:42:04 +00:00
let cfg = config.my.system.keyring;
2022-07-16 22:48:31 +00:00
in with lib; {
2022-08-14 02:42:04 +00:00
options.my = {
2022-07-16 22:48:31 +00:00
system.keyring.enable = mkOption {
default = true;
type = with types; bool;
};
};
2022-08-14 02:42:04 +00:00
# options.my.system.keyring.enable = mkEnableOption "keyring";
2022-07-16 22:48:31 +00:00
config = mkIf cfg.enable { services.gnome.gnome-keyring.enable = true; };
}