untracked files on main: b8e37d3 flake: move old let
block to config.flake scope
This commit is contained in:
commit
6bc802dee5
19
pkgs/module.nix
Normal file
19
pkgs/module.nix
Normal 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, ... }: {
|
||||||
|
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user