22 lines
331 B
Nix
22 lines
331 B
Nix
{ 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;
|
|
|
|
home.packages = with pkgs; [
|
|
rbw
|
|
pinentry-tty
|
|
];
|
|
};
|
|
}
|