This commit is contained in:
parent
f02ace1040
commit
26072b5cff
5 changed files with 101 additions and 79 deletions
21
flake-modules/packages.nix
Normal file
21
flake-modules/packages.nix
Normal 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 ]; };
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue