mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-25 21:30:52 +01:00
23 lines
436 B
Nix
23 lines
436 B
Nix
{ config, pkgs, lib, ... }:
|
|
let
|
|
cfg = config.luj.programs.pass;
|
|
in
|
|
with lib;
|
|
{
|
|
options.luj.programs.pass = {
|
|
enable = mkEnableOption "Enable pass";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.rbw = {
|
|
enable = true;
|
|
settings = {
|
|
base_url = "https://vaults.malka.family";
|
|
email = "julien@malka.sh";
|
|
pinentry = pkgs.unstable.pinentry-tty;
|
|
lock_timeout = 600;
|
|
};
|
|
};
|
|
};
|
|
|
|
}
|