restructure

This commit is contained in:
2026-04-22 14:09:08 -05:00
parent 4ae1389378
commit cbebf1639f
4 changed files with 20 additions and 11 deletions

View File

@@ -0,0 +1,18 @@
{ inputs, ... }: {
flake.homeModules.nathan-terminal = { config, lib, pkgs, ... }: {
programs.neovim = {
defaultEditor = true;
package = lib.mkMerge [
(lib.mkIf (builtins.any (x: x == pkgs.pywal16) config.home.packages)
inputs.nixvim.packages.${pkgs.stdenv.hostPlatform.system}.pywal
)
(lib.mkIf (!(builtins.any (x: x == pkgs.pywal16) config.home.packages))
inputs.nixvim.packages.${pkgs.stdenv.hostPlatform.system}.default
)
];
};
};
}