add nixpkgs-stable for neorg
This commit is contained in:
parent
5f4786b782
commit
d26387fa87
3 changed files with 24 additions and 1 deletions
|
|
@ -1,11 +1,12 @@
|
||||||
# vim: ts=4:sts=0:sw=0:noet
|
# vim: ts=4:sts=0:sw=0:noet
|
||||||
{
|
{
|
||||||
helpers
|
pkgs-stable
|
||||||
, ... }:
|
, ... }:
|
||||||
{
|
{
|
||||||
plugins = {
|
plugins = {
|
||||||
neorg = {
|
neorg = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs-stable.vimPlugins.neorg;
|
||||||
modules = {
|
modules = {
|
||||||
"core.defaults" = {}; # -- Loads default behaviour
|
"core.defaults" = {}; # -- Loads default behaviour
|
||||||
"core.summary" = {};
|
"core.summary" = {};
|
||||||
|
|
@ -32,6 +33,7 @@ helpers
|
||||||
};
|
};
|
||||||
"core.keybinds" = {
|
"core.keybinds" = {
|
||||||
config = {
|
config = {
|
||||||
|
default_keybinds = true;
|
||||||
hook.__raw = ''
|
hook.__raw = ''
|
||||||
function(keybinds)
|
function(keybinds)
|
||||||
keybinds.unmap("norg", "i", "<M-CR>")
|
keybinds.unmap("norg", "i", "<M-CR>")
|
||||||
|
|
|
||||||
17
flake.lock
generated
17
flake.lock
generated
|
|
@ -205,6 +205,22 @@
|
||||||
"type": "indirect"
|
"type": "indirect"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs-stable": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1712437997,
|
||||||
|
"narHash": "sha256-g0whLLwRvgO2FsyhY8fNk+TWenS3jg5UdlWL4uqgFeo=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "e38d7cb66ea4f7a0eb6681920615dfcc30fc2920",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-23.11",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1711333969,
|
"lastModified": 1711333969,
|
||||||
|
|
@ -277,6 +293,7 @@
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
|
"nixpkgs-stable": "nixpkgs-stable",
|
||||||
"nixvim": "nixvim"
|
"nixvim": "nixvim"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -3,12 +3,14 @@
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixvim.url = "github:nix-community/nixvim";
|
nixvim.url = "github:nix-community/nixvim";
|
||||||
|
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-23.11";
|
||||||
flake-utils.url = "github:numtide/flake-utils";
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
self,
|
self,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
|
nixpkgs-stable,
|
||||||
nixvim,
|
nixvim,
|
||||||
flake-utils,
|
flake-utils,
|
||||||
...
|
...
|
||||||
|
|
@ -18,6 +20,7 @@
|
||||||
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 {inherit system;};
|
||||||
|
pkgs-stable = import nixpkgs-stable {inherit system;};
|
||||||
nixvim' = nixvim.legacyPackages.${system};
|
nixvim' = nixvim.legacyPackages.${system};
|
||||||
nvim = nixvim'.makeNixvimWithModule {
|
nvim = nixvim'.makeNixvimWithModule {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
|
@ -25,6 +28,7 @@
|
||||||
# You can use `extraSpecialArgs` to pass additional arguments to your module files
|
# You can use `extraSpecialArgs` to pass additional arguments to your module files
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
inherit self;
|
inherit self;
|
||||||
|
inherit pkgs-stable;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue