From 52d2f0186e8c1b351e78f9e56f6c36dea5987e1f Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 17 Jan 2024 17:43:31 +0800 Subject: [PATCH] flake-parts/setups: change to use all systems by default --- modules/flake-parts/setups/home-manager.nix | 3 ++- modules/flake-parts/setups/nixos.nix | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/flake-parts/setups/home-manager.nix b/modules/flake-parts/setups/home-manager.nix index 2839890f..469e5943 100644 --- a/modules/flake-parts/setups/home-manager.nix +++ b/modules/flake-parts/setups/home-manager.nix @@ -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 diff --git a/modules/flake-parts/setups/nixos.nix b/modules/flake-parts/setups/nixos.nix index 4f8d7724..2e26fe9b 100644 --- a/modules/flake-parts/setups/nixos.nix +++ b/modules/flake-parts/setups/nixos.nix @@ -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