diff --git a/nixos/modules/misc/version.nix b/nixos/modules/misc/version.nix index 001505320c00..c576cf4cb925 100644 --- a/nixos/modules/misc/version.nix +++ b/nixos/modules/misc/version.nix @@ -36,14 +36,14 @@ in nixos.revision = mkOption { internal = true; type = types.str; - default = lib.trivial.revisionWithDefault "master"; + default = trivial.revisionWithDefault "master"; description = "The Git revision from which this NixOS configuration was built."; }; nixos.codeName = mkOption { readOnly = true; type = types.str; - default = lib.trivial.codeName; + default = trivial.codeName; description = "The NixOS release code name (e.g. Emu)."; };