Add basic check compat

This commit is contained in:
Greg Hellings
2024-10-03 11:16:06 -05:00
parent 805bf79ef6
commit e2f0856102
11 changed files with 25 additions and 18 deletions
-4
View File
@@ -1,12 +1,8 @@
{ pkgs, lib,
inputs,
host ? "most",
nixvim,
...}:
let
system = pkgs.system;
in
{
nixpkgs.config.allowUnfreePredicate = (_: true);
imports = [
+2 -2
View File
@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ lib, pkgs, config, ... }:
let
vim-xonsh = pkgs.vimUtils.buildVimPlugin {
@@ -126,7 +126,7 @@ in
neo-tree.enable = true;
notify.enable = true;
web-devicons.enable = true;
};
} // (lib.mkIf (lib.versionAtLeast config.system.nixos.release "24.11") {});
extraConfigLua = builtins.replaceStrings [ "@git@" ] [ "${pkgs.git}/bin/git" ] (builtins.readFile ./vim/extra.lua);
extraConfigVim = builtins.readFile ./vim/extra.vimrc;
extraPlugins = with pkgs.vimPlugins; [