mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-02 17:15:01 +02:00
modules/context: flake
option, provides access to our flake
This commit is contained in:
parent
7391dc14ca
commit
9487403532
3 changed files with 16 additions and 4 deletions
|
@ -129,7 +129,7 @@ in
|
|||
# NOTE: This is a nixvim-specific option; there's no equivalent in nixos
|
||||
source = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
# NOTE: default is only set if `flake` is passed to our lib
|
||||
default = config.flake.inputs.nixpkgs;
|
||||
defaultText = lib.literalMD "Nixvim's flake `input.nixpkgs`";
|
||||
description = ''
|
||||
The path to import Nixpkgs from.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue