initial commit for module-refactor
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.cava = {
|
||||
enable = true;
|
||||
{lib, config, inputs, pkgs, ... }: {
|
||||
options = {
|
||||
cavaOpts.enable = lib.mkEnableOption "enables my cava settings";
|
||||
};
|
||||
config = lib.mkIf config.cavaOpts.enable {
|
||||
programs.cava = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user