dotfiles/common/options.nix
RingOfStorms (Joshua Bell) 26cc522363 wip refactor
2025-03-17 01:19:40 -05:00

18 lines
284 B
Nix

{
config,
lib,
...
}:
let
ccfg = import ./config.nix;
cfg_path = "${ccfg.custom_config_key}";
cfg = config.${cfg_path};
in
{
options.${cfg_path} = {
systemName = lib.mkOption {
type = lib.types.str;
description = "The name of the system.";
};
};
}