19 lines
302 B
Nix
19 lines
302 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 ];
|
||
|
};
|
||
|
}
|