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