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, ...}: {
options = {
fzfOpts.enable = lib.mkEnableOption "enables my fzf options";
fzfConfig.enable = lib.mkEnableOption "enables my fzf options";
};
config = lib.mkIf config.fzfOpts.enable {
config = lib.mkIf config.fzfConfig.enable {
programs.fzf = {
enable = true;
enableZshIntegration = true;