Revert "nixos/version: fix nixops pre 1.6 compatibility"

This reverts commit 70c6f6572d.
This commit is contained in:
Jan Malakhovski
2018-04-17 09:05:20 +00:00
parent e0c9a25588
commit 4018d44641
2 changed files with 2 additions and 17 deletions
-15
View File
@@ -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;