mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 10:09:04 +02:00
add rbw module
This commit is contained in:
parent
9f00915fcc
commit
d7c6df94b0
2 changed files with 25 additions and 0 deletions
23
home-manager-modules/pass/default.nix
Normal file
23
home-manager-modules/pass/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ 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.pinentry-gnome3;
|
||||
lock_timeout = 600;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue