rbw: module init

This commit is contained in:
Zynh Ludwig 2024-08-24 14:01:19 -07:00
parent a44ce28a73
commit 8848f7df18
2 changed files with 19 additions and 0 deletions

18
home/modules/rbw.nix Normal file
View file

@ -0,0 +1,18 @@
{ 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 ];
};
}

View file

@ -19,6 +19,7 @@ in
projects.enable = true;
dunst.enable = true;
sops.enable = true;
rbw.enable = true;
defaultPrograms.enable = true;
playerctl.enable = true;
redshift.enable = true;