move option outside config

This commit is contained in:
Richard Mauer 2025-01-01 18:48:08 -05:00
parent efeca3eca6
commit cf7389fc48

View File

@ -1,10 +1,10 @@
{ config, pkgs ? import <nixpkgs>, lib, ... }:
{
config = {
options.customPkgs.installFiles = lib.mkOption {
options.customPkgs.installFiles = lib.mkOption {
type = lib.types.package;
};
config = {
_moduleArgs = {
inherit (config.customPkgs.installFiles) installFiles;
};