diff options
| author | seth <[email protected]> | 2023-11-01 06:42:48 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-11-01 06:42:48 -0400 |
| commit | 09004f4517eba8f57d37897e34f6ba56ad3653f1 (patch) | |
| tree | 6ae19b13a2694fe852caa6c77665af24ea59fe9e /flake.nix | |
| parent | ca59ebcf3dd17153b90a0ceca86af14db941ac3c (diff) | |
stop using neovim.nix
i had small, but annoying issues here and i don't care for lazy loading much tbh
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 58 |
1 files changed, 1 insertions, 57 deletions
@@ -9,40 +9,20 @@ inputs.nixpkgs-lib.follows = "nixpkgs"; }; - neovim = { - url = "github:neovim/neovim?dir=contrib"; - inputs.nixpkgs.follows = "nixpkgs"; - inputs.flake-utils.follows = "utils"; - }; - - neovim-nix = { - url = "github:willruggiano/neovim.nix"; - inputs = { - nixpkgs.follows = "nixpkgs"; - flake-parts.follows = "parts"; - pre-commit-nix.follows = "pre-commit"; - neovim.follows = "neovim"; - }; - }; - pre-commit = { url = "github:cachix/pre-commit-hooks.nix"; inputs = { nixpkgs.follows = "nixpkgs"; nixpkgs-stable.follows = "nixpkgs"; - flake-utils.follows = "utils"; }; }; - - # this is to prevent multiple versions in lockfile - utils.url = "github:numtide/flake-utils"; }; outputs = {parts, ...} @ inputs: parts.lib.mkFlake {inherit inputs;} { imports = [ inputs.pre-commit.flakeModule - inputs.neovim-nix.flakeModule + ./dev.nix ./neovim.nix ]; @@ -52,41 +32,5 @@ "x86_64-darwin" "aarch64-darwin" ]; - - perSystem = { - pkgs, - config, - self', - ... - }: { - packages = { - getchvim = config.neovim.final; - default = self'.packages.getchvim; - }; - - devShells.default = pkgs.mkShell { - shellHook = config.pre-commit.installationScript; - - packages = with pkgs; [ - actionlint - self'.formatter - deadnix - nil - statix - stylua - ]; - }; - - formatter = pkgs.alejandra; - - pre-commit.settings.hooks = { - actionlint.enable = true; - alejandra.enable = true; - deadnix.enable = true; - nil.enable = true; - statix.enable = true; - stylua.enable = true; - }; - }; }; } |
