rbw: module init
This commit is contained in:
parent
a44ce28a73
commit
8848f7df18
2 changed files with 19 additions and 0 deletions
18
home/modules/rbw.nix
Normal file
18
home/modules/rbw.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue