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

@@ -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";
}; };
}; };
} }

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
)
];
};
};
}

View File

@@ -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
]; ];
}; };
}; };
} }

View File

@@ -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 = ''