forked from foxora/nix
idk i made a lot of changes
This commit is contained in:
parent
f17fb26069
commit
55099cdad2
10 changed files with 171 additions and 21 deletions
|
|
@ -15,11 +15,10 @@ in {
|
|||
];
|
||||
|
||||
config = {
|
||||
# this value, nixCats is the defaultPackageName you pass to mkNixosModules
|
||||
# it will be the namespace for your options.
|
||||
nixCats = {
|
||||
enable = true;
|
||||
nixpkgs_version = inputs.nixpkgs-unstable;
|
||||
# TODO: ask butterfly about this, am confused :3
|
||||
# this will add the overlays from ./overlays and also,
|
||||
# add any plugins in inputs named "plugins-pluginName" to pkgs.neovimPlugins
|
||||
# It will not apply to overall system, just nixCats.
|
||||
|
|
@ -28,15 +27,13 @@ in {
|
|||
[
|
||||
(utils.standardPluginOverlay inputs)
|
||||
];
|
||||
# see the packageDefinitions below.
|
||||
|
||||
# This says which of those to install.
|
||||
packageNames = ["auroranvim"];
|
||||
|
||||
luaPath = "${./.}";
|
||||
|
||||
# the .replace vs .merge options are for modules based on existing configurations,
|
||||
# they refer to how multiple categoryDefinitions get merged together by the module.
|
||||
# for useage of this section, refer to :h nixCats.flake.outputs.categories
|
||||
# for usage of this section, refer to :h nixCats.flake.outputs.categories
|
||||
categoryDefinitions.replace = {
|
||||
pkgs,
|
||||
settings,
|
||||
|
|
@ -126,9 +123,11 @@ in {
|
|||
|
||||
optionalPlugins = with pkgs.vimPlugins; {
|
||||
general = [];
|
||||
ui = [
|
||||
dressing-nvim
|
||||
];
|
||||
ui = {
|
||||
dressing = [dressing-nvim];
|
||||
lualine = [lualine-nvim];
|
||||
indent-blankline = [indent-blankline-nvim];
|
||||
};
|
||||
qol = [
|
||||
undotree
|
||||
mini-hipatterns
|
||||
|
|
@ -187,9 +186,7 @@ in {
|
|||
# shared libraries to be added to LD_LIBRARY_PATH
|
||||
# variable available to nvim runtime
|
||||
sharedLibraries = {
|
||||
general = with pkgs; [
|
||||
# libgit2
|
||||
];
|
||||
general = with pkgs; [];
|
||||
};
|
||||
|
||||
environmentVariables = {
|
||||
|
|
@ -225,15 +222,11 @@ in {
|
|||
|
||||
# see :help nixCats.flake.outputs.packageDefinitions
|
||||
packageDefinitions.replace = {
|
||||
# these are the names of your packages
|
||||
# you can include as many as you wish.
|
||||
auroranvim = {pkgs, ...}: {
|
||||
# they contain a settings set defined above
|
||||
# see :help nixCats.flake.outputs.settings
|
||||
settings = {
|
||||
wrapRc = true;
|
||||
# IMPORTANT:
|
||||
# your alias may not conflict with your other packages.
|
||||
aliases = [
|
||||
"auravim"
|
||||
"foxyvim"
|
||||
|
|
@ -241,20 +234,24 @@ in {
|
|||
"fvix"
|
||||
];
|
||||
};
|
||||
# and a set of categories that you want
|
||||
# (and other information to pass to lua)
|
||||
|
||||
categories = {
|
||||
general = true;
|
||||
|
||||
ui = true;
|
||||
ui = {
|
||||
dressing = true;
|
||||
lualine = true;
|
||||
indent-blankline = true;
|
||||
};
|
||||
|
||||
qol = true;
|
||||
|
||||
telescope = {
|
||||
enable = true;
|
||||
|
||||
# only enable one at a time
|
||||
fzf = false;
|
||||
zf = true;
|
||||
fzf = true;
|
||||
zf = false;
|
||||
};
|
||||
|
||||
fyler = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue