2024-08-24 21:01:19 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
cfg = config.snowhawk.rbw;
|
|
|
|
|
|
|
|
inherit (lib) mkIf mkEnableOption;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.snowhawk.rbw = {
|
|
|
|
enable = mkEnableOption "rbw home-manager module";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
programs.rbw.enable = true;
|
|
|
|
|
2024-08-24 22:05:32 +00:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
rbw
|
|
|
|
pinentry-tty
|
|
|
|
];
|
2024-08-24 21:01:19 +00:00
|
|
|
};
|
|
|
|
}
|