treefmt-check
checks.aarch64-linux.treefmt
· build #1036
· raw
1build01: building nw1p0x0fpq3vhwc68wfzhn8cvmw74b4j-treefmt-check.drv2treefmt v2.6.0traversed 1079 files3emitted 917 files for processing4formatted 917 files (1 changed) in 12.24s5 M docs/src/guides/cloud-provider-notes.md6diff --git a/docs/src/guides/cloud-provider-notes.md b/docs/src/guides/cloud-provider-notes.md7index 2d642bd..a21b7d5 1006448--- a/docs/src/guides/cloud-provider-notes.md9+++ b/docs/src/guides/cloud-provider-notes.md10@@ -7,12 +7,12 @@ The [Getting Started](/docs/getting-started/quick-start) guide works with any cl11 * **Use Nitro instance types** (t3, m5, c5, r5, m6i, c6i, …). Xen instance types (t2, m4, c4, r4, …) don't work with the kexec step Clan uses to boot the installer.12 * AWS key pairs are separate `.pem` files. To use your `~/.ssh/id_ed25519` key, add it to the default `ubuntu` user:13 14- ```bash15- ssh -i ~/.ssh/<KEY-PAIR-FILE>.pem ubuntu@<TARGET-IP> \16- "cat >> ~/.ssh/authorized_keys" < ~/.ssh/id_ed25519.pub17- ```18+ ```bash19+ ssh -i ~/.ssh/<KEY-PAIR-FILE>.pem ubuntu@<TARGET-IP> \20+ "cat >> ~/.ssh/authorized_keys" < ~/.ssh/id_ed25519.pub21+ ```22 23- Then run the hardware step with `--target-host ubuntu@<TARGET-IP>`.24+ Then run the hardware step with `--target-host ubuntu@<TARGET-IP>`.25 26 ## Google Cloud27 28@@ -36,53 +36,53 @@ Google Cloud needs its guest drivers, and it does not expose the partition table29 30 1. Replace the contents of `machines/test-machine/configuration.nix` with:31 32- ```nix [machines/test-machine/configuration.nix]33- { lib, modulesPath, ... }:34- {35- imports = [36- (modulesPath + "/virtualisation/google-compute-image.nix")37- ];38- networking.hostName = lib.mkForce "test-machine";39- security.googleOsLogin.enable = lib.mkForce false;40- }41- ```42+ ```nix [machines/test-machine/configuration.nix]43+ { lib, modulesPath, ... }:44+ {45+ imports = [46+ (modulesPath + "/virtualisation/google-compute-image.nix")47+ ];48+ networking.hostName = lib.mkForce "test-machine";49+ security.googleOsLogin.enable = lib.mkForce false;50+ }51+ ```52 53- The `google-compute-image.nix` module provides the drivers and services for Google Cloud. It also enables Google OS Login, which conflicts with the authorized keys managed by Clan's `sshd` service, so it is disabled.54+ The `google-compute-image.nix` module provides the drivers and services for Google Cloud. It also enables Google OS Login, which conflicts with the authorized keys managed by Clan's `sshd` service, so it is disabled.55 56 2. In `machines/test-machine/disko.nix`, add `lib` to the function arguments, label the file systems, and boot from those labels:57 58- ```nix [machines/test-machine/disko.nix] {1,7,8,21,30}59- { lib, ... }:60- {61- boot.loader.grub = {62- efiInstallAsRemovable = true;63- efiSupport = true;64- };65- boot.loader.timeout = lib.mkForce 0;66- fileSystems."/".device = lib.mkForce "/dev/disk/by-label/nixos";67-68- disko.devices = {69- disk = {70- main = {71- # ...72- ESP = {73- # ...74- content = {75- type = "filesystem";76- format = "vfat";77- mountpoint = "/boot";78- mountOptions = [ "umask=0077" ];79- extraArgs = [ "-n" "ESP" ];80- };81- };82- root = {83- size = "100%";84- content = {85- type = "filesystem";86- format = "ext4";87- mountpoint = "/";88- extraArgs = [ "-L" "nixos" ];89- };90- };91- # ...92- ```93+ ```nix [machines/test-machine/disko.nix] {1,7,8,21,30}94+ { lib, ... }:95+ {96+ boot.loader.grub = {97+ efiInstallAsRemovable = true;98+ efiSupport = true;99+ };100+ boot.loader.timeout = lib.mkForce 0;101+ fileSystems."/".device = lib.mkForce "/dev/disk/by-label/nixos";102+103+ disko.devices = {104+ disk = {105+ main = {106+ # ...107+ ESP = {108+ # ...109+ content = {110+ type = "filesystem";111+ format = "vfat";112+ mountpoint = "/boot";113+ mountOptions = [ "umask=0077" ];114+ extraArgs = [ "-n" "ESP" ];115+ };116+ };117+ root = {118+ size = "100%";119+ content = {120+ type = "filesystem";121+ format = "ext4";122+ mountpoint = "/";123+ extraArgs = [ "-L" "nixos" ];124+ };125+ };126+ # ...127+ ```