Skip to content

Commit

Permalink
flake.nixvimModules
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Dec 23, 2024
1 parent 4bd83f1 commit fe09f2c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
9 changes: 4 additions & 5 deletions catppuccin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,9 @@ in
};
}
];
};

nixvimModules.default.colorschemes.catppuccin = {
enable = true;
settings.flavour = flavor;
nixvimModules.default.colorschemes.catppuccin = {
enable = true;
settings.flavour = flavor;
};
};
}
8 changes: 2 additions & 6 deletions nixvim/default.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
{
lib,
self,
config,
...
}:
{
options.nixvimModules = lib.mkOption {
options.flake.nixvimModules = lib.mkOption {
type = lib.types.attrsOf lib.types.anything;
};
config.flake = {
inherit (config) nixvimModules;
};

config = {
nixvimModules.default = {
flake.nixvimModules.default = {
imports = [
./autoread.nix
./clipboard.nix
Expand Down

0 comments on commit fe09f2c

Please sign in to comment.