modules/context: flake option, provides access to our flake

This commit is contained in:
Matt Sturgeon 2024-12-23 10:31:29 +00:00
parent 7391dc14ca
commit 9487403532
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
3 changed files with 16 additions and 4 deletions

View file

@ -30,11 +30,9 @@ in
lib.evalModules {
modules = modules ++ [
../modules/top-level
# Pass our locked nixpkgs into the configuration
{
_file = "<nixvim-flake>";
nixpkgs.source = lib.mkOptionDefault flake.inputs.nixpkgs;
flake = lib.mkOptionDefault flake;
}
];
specialArgs = {