gave files.nix it's own directory, renamed all of the options ending with 'Opts' to end with 'Config' instead for consistency.

This commit is contained in:
pagedmov
2024-11-01 22:00:08 -04:00
parent 08bed40c52
commit 99b13fd979
18 changed files with 81 additions and 71 deletions

View File

@@ -1,8 +1,8 @@
{lib, config, inputs, pkgs, ... }: {
options = {
cavaOpts.enable = lib.mkEnableOption "enables my cava settings";
cavaConfig.enable = lib.mkEnableOption "enables my cava settings";
};
config = lib.mkIf config.cavaOpts.enable {
config = lib.mkIf config.cavaConfig.enable {
programs.cava = {
enable = true;
};