diff options
author | Jan Malakhovski <oxij@oxij.org> | 2018-04-06 01:19:06 +0000 |
---|---|---|
committer | Jan Malakhovski <oxij@oxij.org> | 2018-05-12 19:27:09 +0000 |
commit | 095fe5b43def40279a243e663c662b02caac5318 (patch) | |
tree | 943f7d7550221ba6f3b7cd855e00b265bbbcf316 /nixos/modules/virtualisation | |
parent | b0d29e7e179f20c92f18e2eff13b871d015adc5a (diff) |
nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r-- | nixos/modules/virtualisation/amazon-options.nix | 2 | ||||
-rw-r--r-- | nixos/modules/virtualisation/containers.nix | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/virtualisation/amazon-options.nix b/nixos/modules/virtualisation/amazon-options.nix index 349fd3adfc96c..9ecdcf23e5fbf 100644 --- a/nixos/modules/virtualisation/amazon-options.nix +++ b/nixos/modules/virtualisation/amazon-options.nix @@ -3,7 +3,7 @@ options = { ec2 = { hvm = lib.mkOption { - default = lib.versionAtLeast config.system.stateVersion "17.03"; + default = lib.versionAtLeast config.system.nixos.stateVersion "17.03"; internal = true; description = '' Whether the EC2 instance is a HVM instance. diff --git a/nixos/modules/virtualisation/containers.nix b/nixos/modules/virtualisation/containers.nix index 248c2fc1fb238..c3044ea124cfc 100644 --- a/nixos/modules/virtualisation/containers.nix +++ b/nixos/modules/virtualisation/containers.nix @@ -606,8 +606,8 @@ in { config, pkgs, ... }: { services.postgresql.enable = true; services.postgresql.package = pkgs.postgresql96; - - system.stateVersion = "17.03"; + + system.nixos.stateVersion = "17.03"; }; }; } |