home: setup rbw module
This commit is contained in:
parent
4f0496ca99
commit
b6077dabf3
|
@ -41,7 +41,6 @@ in
|
|||
mpv
|
||||
obs-studio
|
||||
pavucontrol
|
||||
rbw
|
||||
slack
|
||||
spotify
|
||||
tdesktop
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
./laptop.nix
|
||||
./lorri.nix
|
||||
./mail.nix
|
||||
./rbw.nix
|
||||
./rofi.nix
|
||||
./ssh.nix
|
||||
./themes
|
||||
|
|
25
home/rbw.nix
Normal file
25
home/rbw.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
inherit (lib)
|
||||
mkEnableOption
|
||||
mkIf
|
||||
;
|
||||
cfg = config.my.home.mail;
|
||||
in
|
||||
{
|
||||
options.my.home.rbw = {
|
||||
enable = (mkEnableOption "rbw configuration");
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.rbw = {
|
||||
enable = true;
|
||||
settings = {
|
||||
email = "antoine@alarsyo.net";
|
||||
base_url = "https://pass.alarsyo.net";
|
||||
lock_timeout = 60 * 60 * 12;
|
||||
pinentry = pkgs.pinentry-gnome;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue