restructure
This commit is contained in:
18
modules/users/nathan/home-manager/features/neovim.nix
Normal file
18
modules/users/nathan/home-manager/features/neovim.nix
Normal 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
|
||||
)
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user