test official nixpkgs-neorg-overlay
This commit is contained in:
parent
9d04c6a199
commit
a5a5ad0804
2 changed files with 23 additions and 10 deletions
27
flake.nix
27
flake.nix
|
|
@ -5,22 +5,33 @@
|
|||
nixvim.url = "github:nix-community/nixvim";
|
||||
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.05";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
|
||||
# https://github.com/nvim-neorg/nixpkgs-neorg-overlay
|
||||
# https://github.com/nix-community/nixvim/issues/1395
|
||||
neorg-overlay.url = "github:nvim-neorg/nixpkgs-neorg-overlay";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
nixpkgs-stable,
|
||||
nixvim,
|
||||
flake-utils,
|
||||
...
|
||||
self
|
||||
, nixpkgs
|
||||
, nixpkgs-stable
|
||||
, nixvim
|
||||
, flake-utils
|
||||
, neorg-overlay
|
||||
, ...
|
||||
} @ inputs: let
|
||||
config = import ./config; # import the module directly
|
||||
in
|
||||
flake-utils.lib.eachDefaultSystem (system: let
|
||||
nixvimLib = nixvim.lib.${system};
|
||||
pkgs = import nixpkgs {inherit system;};
|
||||
pkgs-stable = import nixpkgs-stable {inherit system;};
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
nixpkgs.overlays = [ neorg-overlay.overlays.default ];
|
||||
};
|
||||
pkgs-stable = import nixpkgs-stable {
|
||||
inherit system;
|
||||
nixpkgs.overlays = [ neorg-overlay.overlays.default ];
|
||||
};
|
||||
nixvim' = nixvim.legacyPackages.${system};
|
||||
nvim = nixvim'.makeNixvimWithModule {
|
||||
inherit pkgs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue