mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
nixos: rename config.system.nixos* -> config.system.nixos.*
This commit is contained in:
parent
09512be289
commit
2e6b796761
19 changed files with 92 additions and 84 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue