Add module for use in module flakes

This commit is contained in:
Archit Gupta 2023-09-13 23:11:11 -07:00
parent 712a66158c
commit a463960781

View File

@ -0,0 +1,11 @@
# flakelight -- Framework for simplifying flake setup
# Copyright (C) 2023 Archit Gupta <archit@accelbread.com>
# SPDX-License-Identifier: MIT
# A Flakelight module for Flakelight module flakes
{ flakelight, outputs, src, ... }: {
nixDir = src;
lib.mkFlake = flakelight.mkFlake.extend [ outputs.flakelightModules.default ];
functor = self: self.lib.mkFlake;
}