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
346 B
Nix
Raw Permalink Normal View History

2022-07-16 22:48:31 +00:00
{ config, lib, pkgs, ... }:
2022-08-14 02:42:16 +00:00
let this = 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
2022-08-14 02:42:16 +00:00
config = mkIf this.enable { services.gnome.gnome-keyring.enable = true; };
2022-07-16 22:48:31 +00:00
}