flakelight/flake.nix

18 lines
547 B
Nix
Raw Normal View History

# flakelight -- Framework for simplifying flake setup
2023-04-09 02:56:06 +02:00
# Copyright (C) 2023 Archit Gupta <archit@accelbread.com>
# SPDX-License-Identifier: MIT
{
2023-09-06 05:04:14 +02:00
description =
"A modular Nix flake framework for simplifying flake definitions";
inputs.nixpkgs.url = "nixpkgs/nixos-unstable";
outputs = { nixpkgs, ... }:
let lib = import ./. nixpkgs; in
lib.mkFlake ./. {
outputs = { inherit lib; };
functor = _: lib.mkFlake;
2023-08-28 00:39:11 +02:00
templates = import ./templates;
2023-09-05 01:59:59 +02:00
checks.statix = pkgs: "${pkgs.statix}/bin/statix check";
2023-08-28 00:39:11 +02:00
};
2023-04-09 02:56:06 +02:00
}