test official nixpkgs-neorg-overlay
This commit is contained in:
parent
9d04c6a199
commit
a5a5ad0804
2 changed files with 23 additions and 10 deletions
|
|
@ -1,12 +1,14 @@
|
||||||
# vim: ts=4:sts=0:sw=0:noet
|
# vim: ts=4:sts=0:sw=0:noet
|
||||||
{
|
{
|
||||||
pkgs-stable
|
pkgs
|
||||||
|
, pkgs-stable
|
||||||
, ... }:
|
, ... }:
|
||||||
{
|
{
|
||||||
plugins = {
|
plugins = {
|
||||||
neorg = {
|
neorg = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs-stable.vimPlugins.neorg;
|
# package = pkgs-stable.vimPlugins.neorg;
|
||||||
|
package = pkgs.vimPlugins.neorg;
|
||||||
modules = {
|
modules = {
|
||||||
"core.defaults" = {}; # -- Loads default behaviour
|
"core.defaults" = {}; # -- Loads default behaviour
|
||||||
"core.summary" = {};
|
"core.summary" = {};
|
||||||
|
|
|
||||||
27
flake.nix
27
flake.nix
|
|
@ -5,22 +5,33 @@
|
||||||
nixvim.url = "github:nix-community/nixvim";
|
nixvim.url = "github:nix-community/nixvim";
|
||||||
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.05";
|
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.05";
|
||||||
flake-utils.url = "github:numtide/flake-utils";
|
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 = {
|
outputs = {
|
||||||
self,
|
self
|
||||||
nixpkgs,
|
, nixpkgs
|
||||||
nixpkgs-stable,
|
, nixpkgs-stable
|
||||||
nixvim,
|
, nixvim
|
||||||
flake-utils,
|
, flake-utils
|
||||||
...
|
, neorg-overlay
|
||||||
|
, ...
|
||||||
} @ inputs: let
|
} @ inputs: let
|
||||||
config = import ./config; # import the module directly
|
config = import ./config; # import the module directly
|
||||||
in
|
in
|
||||||
flake-utils.lib.eachDefaultSystem (system: let
|
flake-utils.lib.eachDefaultSystem (system: let
|
||||||
nixvimLib = nixvim.lib.${system};
|
nixvimLib = nixvim.lib.${system};
|
||||||
pkgs = import nixpkgs {inherit system;};
|
pkgs = import nixpkgs {
|
||||||
pkgs-stable = import nixpkgs-stable {inherit system;};
|
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};
|
nixvim' = nixvim.legacyPackages.${system};
|
||||||
nvim = nixvim'.makeNixvimWithModule {
|
nvim = nixvim'.makeNixvimWithModule {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue