Rename modules directory
All checks were successful
/ check (push) Successful in 55s

This commit is contained in:
Oliver Davies 2025-08-18 12:00:00 +01:00
parent a0575bdb2a
commit 703bf836de
210 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1,24 @@
{ config, inputs, lib, ... }:
{
flake.modules.homeManager.base =
hmArgs@{ pkgs, ... }:
let
# Ideally:
# nixvim = self.packages.${pkgs.system}.nixvim;
# but https://github.com/danth/stylix/pull/415#issuecomment-2832398958
neovim = inputs.nixvim.legacyPackages.${pkgs.system}.makeNixvimWithModule {
inherit pkgs;
extraSpecialArgs.homeConfig = hmArgs.config;
module = config.flake.modules.nixvim.custom;
};
in
{
home = {
packages = [ neovim ];
sessionVariables.EDITOR = lib.mkForce (lib.getExe neovim);
};
};
}