blog: nixos-pinephone: fix syntax highlighting

This commit is contained in:
colin 2022-06-15 16:10:53 -07:00
parent cc78e0ca09
commit 9fc4f74ca3
1 changed files with 4 additions and 4 deletions

View File

@ -80,7 +80,7 @@ we'll want to rebuild the image and include a user, desktop environment, and som
we'll use home-manager to make user setup a bit nicer. add that to `flake.nix`:
```diff -u a/flake.nix b/flake.nix
```diff
inputs = {
nixpkgs.url = "nixpkgs/dfd82985c273aac6eced03625f454b334daae2e8";
mobile-nixos = {
@ -92,7 +92,7 @@ we'll use home-manager to make user setup a bit nicer. add that to `flake.nix`:
```
add a module for this pinephone build:
```diff -u a/flake.nix b/flake.nix
```diff
- outputs = { self, nixpkgs, mobile-nixos }: {
+ outputs = { self, nixpkgs, mobile-nixos, home-manager }: {
pinephone-img = (pkgs-mobile.lib.nixosSystem {
@ -182,7 +182,7 @@ and then populate `modules/default.nix`. you could just throw everything in here
```
`modules/phosh.nix`:
```
```nix
{ ... }:
{
services.xserver.desktopManager.phosh = {
@ -244,7 +244,7 @@ eject the card and boot the phone, login, and toy around with it. open the displ
## Building Generations on the Device
we don't want to re-flash the device _every_ time we change something. let's update the flake to allow on-device updates.
```diff -u a/flake.nix b/flake.nix
```diff
- outputs = { self, nixpkgs, mobile-nixos, home-manager }: {
- pinephone-img = (nixpkgs.lib.nixosSystem {
+ outputs = { self, nixpkgs, mobile-nixos, home-manager }: rec {