untracked files on main: b8e37d3 flake: move old let block to config.flake scope

This commit is contained in:
NullBite 2025-02-07 18:29:23 -05:00
commit 6bc802dee5

19
pkgs/module.nix Normal file
View File

@ -0,0 +1,19 @@
{ inputs, self, config, lib, options, ... }:
let
cfg = config.nixfiles.outputs.packages;
in
{
options.nixfiles.outputs.packages = {
enable = lib.mkEnableOption "" // {
description = ''
Whether to generate the packages output.
'';
default = true;
};
};
config = lib.mkIf cfg.enable {
perSystem = { system, inputs', self', pkgs, ... }: {
};
};
}