ALPHA: wire is a tool to deploy nixos systems wire.althaea.zone/
3
fork

Configure Feed

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

update links & add doc for privilegeEscalationCommand

+22 -2
+19 -1
doc/guides/non-root-user.md
··· 42 42 ``` 43 43 44 44 After this change, wire will prompt you for sudo authentication, and tell you 45 - the exact command wire wants privileged. 45 + the exact command wire wants privileged: 46 46 47 47 ```sh{6} 48 48 $ wire apply keys --on media ··· 52 52 me@node:22 | Authenticate for "sudo /nix/store/.../bin/key_agent": 53 53 [sudo] password for deploy-user: 54 54 ``` 55 + 56 + ## Using alternative privilege escalation 57 + 58 + You may change the privilege escalation command with the 59 + [deployment.privilegeEscalationCommand](/reference/module.html#deployment-privilegeescalationcommand) 60 + option. 61 + 62 + For example, doas: 63 + 64 + ```nix 65 + { 66 + deployment.privilegeEscalationCommand = [ 67 + "sudo" # [!code --] 68 + "--" # [!code --] 69 + "doas" # [!code ++] 70 + ]; 71 + } 72 + ```
+3 -1
doc/index.md
··· 5 5 hero: 6 6 name: wire 7 7 text: a tool to deploy nixos systems 8 - # tagline: My great project tagline 9 8 actions: 10 9 - theme: brand 11 10 text: Read Tutorial ··· 20 19 features: 21 20 - title: Deploy in Parallel 22 21 details: Build and deploy many nodes at once. 22 + link: /guides/parallelism 23 23 icon: 💽 24 24 - title: Manage Secrets 25 25 details: Fast & Unopinionated secret management. Bring your own GPG, Age, or any other encryption tool. 26 + link: /guides/keys 26 27 icon: 🔑 27 28 - title: Deploy as Any User 28 29 details: Non-root deployments and interactive authentication is fully supported. 30 + link: /guides/non-root-user 29 31 icon: 🧑‍💻 30 32 ---