1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 11:03:37 +03:00

Merge pull request #370 from nh2/nh2-fix-typos-1

Fix some typos, explain device identifier
This commit is contained in:
Samuel Dionne-Riel 2021-06-29 22:04:00 -04:00 committed by GitHub
commit eb3d03c029
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 7 deletions

View File

@ -137,6 +137,8 @@ import the Mobile NixOS configuration for your device by doing the following.
```nix
# configuration.nix
{
# "xxx-yyy" is your device "Identifier" from https://mobile.nixos.org/devices,
# e.g. "google-marlin".
imports = [
(import <mobile-nixos/lib/configuration.nix> { device = "xxx-yyy"; })
# ...
@ -150,7 +152,7 @@ import the Mobile NixOS configuration for your device by doing the following.
While it is possible, it is discouraged to directly import the configuration
files from the `examples` directories. They may change in ways breaking your
system configuration. It is recommender to copy and edit the configuration
system configuration. It is recommended to copy and edit the configuration
files from the `examples` directories if you are basing your configuration off
of an example.

View File

@ -45,9 +45,9 @@ An alternative installation method is to use a flashable zip. The flashable zip
can be built for your _<%= info["fullName"] %>_ using one of the following
commands:
$ nix-build --argstr device <%= info["identifier"] %>-A build.android-flashable-bootimg
$ nix-build --argstr device <%= info["identifier"] %>-A build.android-flashable-system
$ nix-build --argstr device <%= info["identifier"] %>-A build.android-flashable-zip
$ nix-build --argstr device <%= info["identifier"] %> -A build.android-flashable-bootimg
$ nix-build --argstr device <%= info["identifier"] %> -A build.android-flashable-system
$ nix-build --argstr device <%= info["identifier"] %> -A build.android-flashable-zip
The first two will flash only a specific partition. The last one contains the
partitions of the two previous one.

View File

@ -45,9 +45,9 @@ An alternative installation method is to use a flashable zip. The flashable zip
can be built for your _<%= info["fullName"] %>_ using one of the following
commands:
$ nix-build --argstr device <%= info["identifier"] %>-A build.android-flashable-bootimg
$ nix-build --argstr device <%= info["identifier"] %>-A build.android-flashable-system
$ nix-build --argstr device <%= info["identifier"] %>-A build.android-flashable-zip
$ nix-build --argstr device <%= info["identifier"] %> -A build.android-flashable-bootimg
$ nix-build --argstr device <%= info["identifier"] %> -A build.android-flashable-system
$ nix-build --argstr device <%= info["identifier"] %> -A build.android-flashable-zip
The first two will flash only a specific partition. The last one contains the
partitions of the two previous one.