nixos: rename config.system.nixos* -> config.system.nixos.*

This commit is contained in:
Jan Malakhovski 2017-04-01 00:00:00 +00:00
parent 09512be289
commit 2e6b796761
19 changed files with 92 additions and 84 deletions

View file

@ -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;
};
}