summaryrefslogtreecommitdiffstats
path: root/tests/old/infrastructure/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/old/infrastructure/default.nix (renamed from tests/infrastructure/default.nix)21
1 files changed, 18 insertions, 3 deletions
diff --git a/tests/infrastructure/default.nix b/tests/old/infrastructure/default.nix
index e0ad6889..4696a99f 100644
--- a/tests/infrastructure/default.nix
+++ b/tests/old/infrastructure/default.nix
@@ -1,3 +1,12 @@
+# nixos-config - My current NixOS configuration
+#
+# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+# SPDX-License-Identifier: GPL-3.0-or-later
+#
+# This file is part of my nixos-config.
+#
+# You should have received a copy of the License along with this program.
+# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
{
pkgs,
myPkgs,
@@ -5,7 +14,8 @@
nixos-lib,
extraModules,
sysLib,
- ...
+ nixpkgs_open_prs,
+ system,
}: {
name,
configuration,
@@ -22,7 +32,12 @@ nixos-lib.runTest {
node = {
specialArgs = {
- inherit myPkgs sysLib;
+ inherit
+ myPkgs
+ sysLib
+ nixpkgs_open_prs
+ system
+ ;
};
# Use the nixpkgs as constructed by the `nixpkgs.*` options
pkgs = null;
@@ -32,7 +47,7 @@ nixos-lib.runTest {
machine = {config, ...}: {
imports =
[
- extraModules.home-manager
+ extra_modules.home.home-manager
../../modules/by-name/us/users/module.nix
]
++ configuration.imports;