diff options
author | Jan Malakhovski <oxij@oxij.org> | 2017-04-01 00:00:00 +0000 |
---|---|---|
committer | Jan Malakhovski <oxij@oxij.org> | 2018-02-18 12:56:30 +0000 |
commit | 2e6b796761672e0e3ed685487007bb0d99126d91 (patch) | |
tree | 530c7866ba30fa6480e24da2d603bac7b292a0e1 /nixos/modules/misc/label.nix | |
parent | 09512be289819507ca53d7f7be5e4b712b78283d (diff) |
nixos: rename config.system.nixos* -> config.system.nixos.*
Diffstat (limited to 'nixos/modules/misc/label.nix')
-rw-r--r-- | nixos/modules/misc/label.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/misc/label.nix b/nixos/modules/misc/label.nix index 30d8fc9952b73..5faac8936f8f2 100644 --- a/nixos/modules/misc/label.nix +++ b/nixos/modules/misc/label.nix @@ -3,14 +3,14 @@ with lib; let - cfg = config.system; + cfg = config.system.nixos; in { options.system = { - nixosLabel = mkOption { + nixos.label = mkOption { type = types.str; description = '' NixOS version name to be used in the names of generated @@ -26,7 +26,7 @@ in config = { # This is set here rather than up there so that changing it would # not rebuild the manual - system.nixosLabel = mkDefault cfg.nixosVersion; + system.nixos.label = mkDefault cfg.version; }; } |