restructure
This commit is contained in:
@@ -71,13 +71,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = lib.mkIf (!(builtins.any (x: x == pkgs.pywal16) config.home.packages)) [
|
|
||||||
inputs.nixvim.packages.${pkgs.stdenv.hostPlatform.system}.default
|
|
||||||
];
|
|
||||||
|
|
||||||
home.sessionVariables.EDITOR = "nvim";
|
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
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
|
||||||
|
)
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,16 +1,13 @@
|
|||||||
{ inputs, ... }: {
|
{ ... }: {
|
||||||
|
|
||||||
flake.homeModules.nathan-pywal = { config, lib, pkgs, ... }: {
|
flake.homeModules.nathan-pywal = { config, lib, pkgs, ... }: {
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
inputs.nixvim.packages.${pkgs.stdenv.hostPlatform.system}.pywal
|
|
||||||
pywal16
|
pywal16
|
||||||
imagemagick
|
imagemagick
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
(useWith laptop nathan-hypridle)
|
(useWith laptop nathan-hypridle)
|
||||||
(useWith laptop nathan-hyprland)
|
(useWith laptop nathan-hyprland)
|
||||||
(useWith laptop nathan-kitty)
|
(useWith laptop nathan-kitty)
|
||||||
|
(useWith laptop nathan-scripts)
|
||||||
|
|
||||||
(useWith laptop {
|
(useWith laptop {
|
||||||
wayland.windowManager.hyprland.extraConfig = ''
|
wayland.windowManager.hyprland.extraConfig = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user