From 4018d44641afb0312348c0a6c846331ec5224943 Mon Sep 17 00:00:00 2001 From: Jan Malakhovski Date: Tue, 17 Apr 2018 09:03:05 +0000 Subject: Revert "nixos/version: fix nixops pre 1.6 compatibility" This reverts commit 70c6f6572dda0f2516bad812857ef814ec710a12. --- nixos/modules/misc/version.nix | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'nixos/modules/misc') diff --git a/nixos/modules/misc/version.nix b/nixos/modules/misc/version.nix index 7519d9176982..b8f0a223c910 100644 --- a/nixos/modules/misc/version.nix +++ b/nixos/modules/misc/version.nix @@ -16,21 +16,6 @@ in options.system = { - # XXX: Reintroduce old options to make nixops before 1.6 able to evaluate configurations - # XXX: Remove after nixops has been bumped to a compatible version - nixosVersion = mkOption { - readOnly = true; - internal = true; - type = types.str; - default = config.system.nixos.version; - }; - nixosVersionSuffix = mkOption { - readOnly = true; - internal = true; - type = types.str; - default = config.system.nixos.versionSuffix; - }; - nixos.version = mkOption { internal = true; type = types.str; -- cgit 1.4.1