flake-parts/setups: change to use all systems by default

This commit is contained in:
Gabriel Arazas 2024-01-17 17:43:31 +08:00
parent 5e37db2361
commit 52d2f0186e
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 4 additions and 3 deletions

View File

@ -74,7 +74,8 @@ let
options = {
systems = lib.mkOption {
type = with lib.types; listOf str;
default = lib.lists.take 1 config.systems;
default = config.systems;
defaultText = "config.systems";
example = [ "x86_64-linux" "aarch64-linux" ];
description = ''
A list of platforms that the NixOS configuration is supposed to be

View File

@ -103,8 +103,8 @@ let
options = {
systems = lib.mkOption {
type = with lib.types; listOf str;
default = lib.lists.take 1 config.systems;
defaultText = "The first system listed from `config.systems`.";
default = config.systems;
defaultText = "config.systems";
example = [ "x86_64-linux" "aarch64-linux" ];
description = ''
A list of platforms that the NixOS configuration is supposed to be