Extract flake modules
All checks were successful
/ check (push) Successful in 1m28s

This commit is contained in:
Oliver Davies 2025-07-09 02:12:31 +01:00
parent f02ace1040
commit 26072b5cff
5 changed files with 101 additions and 79 deletions

View file

@ -0,0 +1,21 @@
{ inputs, self, ... }:
{
perSystem =
{ pkgs, system, ... }:
let
# TODO: refactor to use inputs' or similar.
nixvim = inputs.nixvim.legacyPackages.${system}.makeNixvimWithModule {
inherit pkgs;
module = import "${self}/modules/home-manager/coding/neovim/config";
};
in
{
packages = {
inherit nixvim;
default = pkgs.mkShell { buildInputs = with pkgs; [ just ]; };
};
};
}