From 6bc802dee5a9a4ce92bced9e6f950a29678f1d82 Mon Sep 17 00:00:00 2001 From: NullBite Date: Fri, 7 Feb 2025 18:29:23 -0500 Subject: [PATCH] untracked files on main: b8e37d3 flake: move old `let` block to config.flake scope --- pkgs/module.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pkgs/module.nix diff --git a/pkgs/module.nix b/pkgs/module.nix new file mode 100644 index 0000000..1e88d13 --- /dev/null +++ b/pkgs/module.nix @@ -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, ... }: { + + }; + }; +}