rbw: module init

sh-initrd-on-root
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; projects.enable = true;
dunst.enable = true; dunst.enable = true;
sops.enable = true; sops.enable = true;
rbw.enable = true;
defaultPrograms.enable = true; defaultPrograms.enable = true;
playerctl.enable = true; playerctl.enable = true;
redshift.enable = true; redshift.enable = true;