mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-10 04:49:19 -08:00
12 lines
408 B
Nix
12 lines
408 B
Nix
{ config, pkgs, lib, ... }: with lib; {
|
|
programs.rbw = {
|
|
enable = true;
|
|
package = mkIf config.deploy.profile.trusted (pkgs.writeShellScriptBin "bitw" ''${pkgs.rbw-bitw}/bin/bitw -p gpg://${config.kw.secrets.repo.bitw.source} "$@"'');
|
|
settings = {
|
|
email = "kat@kittywit.ch";
|
|
base_url = "https://vault.kittywit.ch";
|
|
identity_url = null;
|
|
lock_timeout = 3600;
|
|
};
|
|
};
|
|
}
|