mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 16:57:55 +00:00
23 lines
555 B
Nix
23 lines
555 B
Nix
{ lib, systems, ... }: {
|
|
options = {
|
|
systems = lib.mkOption {
|
|
type = with lib.types; listOf str;
|
|
default = systems;
|
|
defaultText = "config.systems";
|
|
example = [ "x86_64-linux" "aarch64-linux" ];
|
|
description = ''
|
|
A list of platforms that the NixOS configuration is supposed to be
|
|
deployed on.
|
|
'';
|
|
};
|
|
|
|
modules = lib.mkOption {
|
|
type = with lib.types; listOf raw;
|
|
default = [ ];
|
|
description = ''
|
|
A list of NixOS modules specific for that host.
|
|
'';
|
|
};
|
|
};
|
|
}
|