1
0
Fork 0
nix-system-configurations/options/default.nix

28 lines
620 B
Nix

# SPDX-FileCopyrightText: 2025 Ethan Reece <contact@ethanreece.com>
#
# SPDX-License-Identifier: MIT
{ lib, ... }:
{
options = {
targets = lib.mkOption {
description = ''
Targets for Flake configurations.
'';
type = lib.types.attrsOf (
lib.types.submodule {
options = {
enable = lib.mkEnableOption "target";
system = lib.mkOption {
description = ''
System type of target.
'';
default = "";
type = lib.types.str;
};
};
}
);
};
};
}