🧶
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

enable remote build

+25 -3
+24 -3
docs/notes.md
··· 41 41 ```yaml 42 42 keys: 43 43 - &admin_you age1... # from step 1 44 - - &raspberrypi age1... # from step 2 44 + - &raspberry age1... # from step 2 45 45 creation_rules: 46 46 - path_regex: secrets/[^/]+\.(yaml|json|env|ini)$ 47 47 key_groups: 48 48 - age: 49 49 - *admin_you 50 - - *raspberrypi 50 + - *raspberry 51 51 ``` 52 52 53 53 ### 4. Desktop — create and edit secrets ··· 140 140 openssh.authorizedKeys.keys = [ 141 141 "ssh-ed25519 AAAA... you@desktop" 142 142 ]; 143 - ``` 143 + ``` 144 + 145 + --- 146 + 147 + ### current system differs from required 148 + 149 + ``` 150 + error: Cannot build '/nix/store/lc2x2l1wvzwlv48sh2vdp4khynvldlmf-builder.pl.drv'. 151 + Reason: required system or feature not available 152 + Required system: 'aarch64-linux' with features {} 153 + Current system: 'aarch64-darwin' with features {apple-virt, benchmark, big-parallel, nixos-test} 154 + ``` 155 + 156 + **Cause:** `deploy-rs` was trying to build in my `aarch64-darwin` system (Macbook M1) a `aarch64-linux` target. 157 + 158 + **Fix:** Enable remote builds to run them on the Raspberry instead. 159 + 160 + ```nix 161 + outputs.deploy.nodes.raspberry = { 162 + remoteBuild = true; 163 + } 164 + ```
+1
flake.nix
··· 23 23 24 24 deploy.nodes.mikan = { 25 25 hostname = "mikan"; 26 + remoteBuild = true; 26 27 profiles.system = { 27 28 sshUser = "izquiratops"; 28 29 user = "root";