Skip to content

Commit

Permalink
chore: rename mkFlavourOpt to mkFlavorOpt
Browse files Browse the repository at this point in the history
Missed by fea5242
  • Loading branch information
Weathercold committed May 24, 2024
1 parent fea5242 commit 27dc542
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/lib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ in
# this creates a flavor option for modules
# the first string should be the name of the module,
# followed by the local config attrset
mkFlavourOpt = ctp.mkBasicOpt "flavor" ctp.types.flavorOption;
mkFlavorOpt = ctp.mkBasicOpt "flavor" ctp.types.flavorOption;

types = {
flavorOption = lib.types.enum [
Expand Down Expand Up @@ -114,7 +114,7 @@ in
enable = lib.mkEnableOption "Catppuccin theme" // {
default = config.catppuccin.enable;
};
flavor = ctp.mkFlavourOpt name;
flavor = ctp.mkFlavorOpt name;
};

# string -> a -> a
Expand Down

0 comments on commit 27dc542

Please sign in to comment.