mirror of
https://github.com/nix-community/flakelight.git
synced 2024-11-21 23:13:09 +01:00
Add module for use in module flakes
This commit is contained in:
parent
712a66158c
commit
a463960781
11
nix/flakelightModules/flakelightModule.nix
Normal file
11
nix/flakelightModules/flakelightModule.nix
Normal 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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user