Split nixvim types

NixVim has branches to track the different hosts, so let's go ahead and
use those properly
This commit is contained in:
Greg Hellings
2024-08-17 00:04:27 -05:00
parent 1615a20b31
commit f4227928a3
4 changed files with 294 additions and 53 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
{ pkgs, lib,
inputs,
host ? "most",
nixvim,
...}:
let
@@ -9,7 +10,7 @@ in
{
nixpkgs.config.allowUnfreePredicate = (_: true);
imports = [
inputs.nixvim.homeManagerModules.default
nixvim.homeManagerModules.default
./modules
] ++ lib.optionals (builtins.pathExists ./hosts/${host}) [ ./hosts/${host} ];