mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 03:08:11 +09:00
27 lines
545 B
Nix
27 lines
545 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.my.applications."1password";
|
|
in
|
|
{
|
|
options.my.applications."1password" = {
|
|
enable = lib.mkEnableOption "1Password password manager";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
programs._1password.enable = true;
|
|
programs._1password-gui = {
|
|
enable = true;
|
|
polkitPolicyOwners = [ "moons" ];
|
|
};
|
|
|
|
programs.ssh.startAgent = lib.mkForce false;
|
|
programs.gnupg.agent.enableSSHSupport = lib.mkForce false;
|
|
|
|
services.gnome.gcr-ssh-agent.enable = lib.mkForce false;
|
|
};
|
|
}
|