feat: rename extra.nix -> configuration.nix

This commit is contained in:
raf 2023-07-12 00:15:23 +03:00
parent 4980ccbd46
commit 00f801a23f
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29
3 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@
pkgs, pkgs,
... ...
}: let }: let
inherit (import ../extra.nix inputs) neovimConfiguration mainConfig; inherit (import ../configuration.nix inputs) neovimConfiguration mainConfig;
buildPkg = pkgs: modules: buildPkg = pkgs: modules:
(neovimConfiguration {inherit pkgs modules;}) (neovimConfiguration {inherit pkgs modules;})

View file

@ -8,13 +8,13 @@ packages: inputs: {
}: }:
with lib; let with lib; let
cfg = config.programs.neovim-flake; cfg = config.programs.neovim-flake;
inherit (import ../../extra.nix inputs) neovimConfiguration; inherit (import ../../configuration.nix inputs) neovimConfiguration;
set = neovimConfiguration { set = neovimConfiguration {
inherit pkgs; inherit pkgs;
modules = [cfg.settings]; modules = [cfg.settings];
}; };
in { in {
meta.maintainers = [maintainers.notashelf]; meta.maintainers = with maintainers; [NotAShelf];
options.programs.neovim-flake = { options.programs.neovim-flake = {
enable = mkEnableOption "A NeoVim IDE with a focus on configurability and extensibility."; enable = mkEnableOption "A NeoVim IDE with a focus on configurability and extensibility.";