summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2023-10-27 11:37:41 +0300
committerK900 <me@0upti.me>2023-10-27 12:56:13 +0300
commit5323b93e9dfd2f3acc6cb46a6161795fd7a6b8bf (patch)
treeb38b28141840d81c9b4799d135de11fe642cfc84
parent6f06066e948872527c2f17632a8ce255e5fea888 (diff)
nixos/tests: remove unnecessary stateVersion assignments
-rw-r--r--nixos/tests/containers-imperative.nix4
-rw-r--r--nixos/tests/nextcloud/basic.nix2
2 files changed, 1 insertions, 5 deletions
diff --git a/nixos/tests/containers-imperative.nix b/nixos/tests/containers-imperative.nix
index 22b664a90e17..18bec1db78e8 100644
--- a/nixos/tests/containers-imperative.nix
+++ b/nixos/tests/containers-imperative.nix
@@ -21,9 +21,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
modules = lib.singleton {
nixpkgs = { inherit (config.nixpkgs) localSystem; };
- containers.foo.config = {
- system.stateVersion = "18.03";
- };
+ containers.foo.config = {};
};
# The system is inherited from the host above.
diff --git a/nixos/tests/nextcloud/basic.nix b/nixos/tests/nextcloud/basic.nix
index b7af6d6d7364..ab1d8353dba0 100644
--- a/nixos/tests/nextcloud/basic.nix
+++ b/nixos/tests/nextcloud/basic.nix
@@ -37,8 +37,6 @@ in {
"d /var/lib/nextcloud-data 0750 nextcloud nginx - -"
];
- system.stateVersion = "22.11"; # stateVersion >=21.11 to make sure that we use OpenSSL3
-
services.nextcloud = {
enable = true;
datadir = "/var/lib/nextcloud-data";