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

bump to v1.0.0

+167 -167
+2
CHANGELOG.md
··· 7 7 8 8 ## [Unreleased] - yyyy-mm-dd 9 9 10 + ## [v1.0.0] - 2025-12-17 11 + 10 12 ### Added 11 13 12 14 - SIGINT signal handling
+3 -3
Cargo.lock
··· 1121 1121 1122 1122 [[package]] 1123 1123 name = "key_agent" 1124 - version = "1.0.0-beta.0" 1124 + version = "1.0.0" 1125 1125 dependencies = [ 1126 1126 "anyhow", 1127 1127 "base64", ··· 1145 1145 1146 1146 [[package]] 1147 1147 name = "lib" 1148 - version = "1.0.0-beta.0" 1148 + version = "1.0.0" 1149 1149 dependencies = [ 1150 1150 "aho-corasick", 1151 1151 "anyhow", ··· 3211 3211 3212 3212 [[package]] 3213 3213 name = "wire" 3214 - version = "1.0.0-beta.0" 3214 + version = "1.0.0" 3215 3215 dependencies = [ 3216 3216 "clap", 3217 3217 "clap-markdown",
+1 -1
Cargo.toml
··· 2 2 members = ["wire/key_agent", "wire/lib", "wire/cli"] 3 3 resolver = "2" 4 4 package.edition = "2024" 5 - package.version = "1.0.0-beta.0" 5 + package.version = "1.0.0" 6 6 7 7 [workspace.metadata.crane] 8 8 name = "wire"
+1 -3
bench/runner.nix
··· 109 109 name = "benchmark"; 110 110 111 111 defaults = 112 - { 113 - ... 114 - }: 112 + _: 115 113 let 116 114 # hive = builtins.scopedImport { 117 115 # __nixPath = _b: null;
+156 -156
doc/.vitepress/config.ts
··· 11 11 12 12 // https://vitepress.dev/reference/site-config 13 13 export default defineConfig({ 14 - title: MODE === "stable" ? "wire" : "wire (unstable!)", 15 - description: "a tool to deploy nixos systems", 16 - themeConfig: { 17 - search: { 18 - provider: "local", 19 - }, 14 + title: MODE === "stable" ? "wire" : "wire (unstable!)", 15 + description: "a tool to deploy nixos systems", 16 + themeConfig: { 17 + search: { 18 + provider: "local", 19 + }, 20 20 21 - footer: { 22 - message: 23 - 'Released under the <a href="https://github.com/mrshmllow/wire/blob/trunk/COPYING">AGPL-3.0 License</a>.', 24 - copyright: "Copyright 2024-2025 wire Contributors", 21 + footer: { 22 + message: 23 + 'Released under the <a href="https://github.com/mrshmllow/wire/blob/trunk/COPYING">AGPL-3.0 License</a>.', 24 + copyright: "Copyright 2024-2025 wire Contributors", 25 + }, 26 + 27 + // https://vitepress.dev/reference/default-theme-config 28 + nav: [ 29 + { text: "Home", link: "/" }, 30 + { text: "Tutorial", link: "/tutorial/overview" }, 31 + { text: "Guides", link: "/guides/installation" }, 32 + { text: "Reference", link: "/reference/cli" }, 33 + { 34 + text: MODE === "stable" ? pkg.version : "Unstable", 35 + items: [ 36 + MODE === "unstable" 37 + ? { 38 + text: `View ${pkg.version}`, 39 + link: "https://wire.althaea.zone", 40 + } 41 + : { 42 + text: "View Unstable", 43 + link: "https://trunk.wire-docs.pages.dev", 44 + }, 45 + { 46 + text: "Changelog", 47 + link: "https://github.com/mrshmllow/wire/blob/trunk/CHANGELOG.md", 48 + }, 49 + { 50 + text: "CI Server", 51 + link: "https://buildbot.althaea.zone/#/projects/1", 52 + }, 53 + ], 25 54 }, 55 + ], 26 56 27 - // https://vitepress.dev/reference/default-theme-config 28 - nav: [ 29 - { text: "Home", link: "/" }, 30 - { text: "Tutorial", link: "/tutorial/overview" }, 31 - { text: "Guides", link: "/guides/installation" }, 32 - { text: "Reference", link: "/reference/cli" }, 57 + sidebar: { 58 + "/": [ 33 59 { 34 - text: MODE === "stable" ? pkg.version : "Unstable", 60 + text: "Tutorial", 61 + collapsed: false, 35 62 items: [ 36 - MODE === "unstable" 37 - ? { 38 - text: `View ${pkg.version}`, 39 - link: "https://wire.althaea.zone", 40 - } 41 - : { 42 - text: "View Unstable", 43 - link: "https://trunk.wire-docs.pages.dev", 63 + { text: "Overview", link: "/tutorial/overview" }, 64 + { 65 + text: "Part One", 66 + items: [ 67 + { 68 + text: "Nix Setup", 69 + link: "/tutorial/part-one/nix-setup", 44 70 }, 71 + { 72 + text: "Preparing Repo & Shell", 73 + link: "/tutorial/part-one/repo-setup", 74 + }, 75 + { 76 + text: "Creating a Virtual Machine", 77 + link: "/tutorial/part-one/vm-setup", 78 + }, 79 + { 80 + text: "Basic Hive & Deployment", 81 + link: "/tutorial/part-one/basic-hive", 82 + }, 83 + ], 84 + }, 45 85 { 46 - text: "Changelog", 47 - link: "https://github.com/mrshmllow/wire/blob/trunk/CHANGELOG.md", 86 + text: "Part Two", 87 + items: [ 88 + { 89 + text: "Basic Deployment Keys", 90 + link: "/tutorial/part-two/basic-keys", 91 + }, 92 + { 93 + text: "Encrypted Deployment Keys", 94 + link: "/tutorial/part-two/encryption", 95 + }, 96 + ], 48 97 }, 98 + ], 99 + }, 100 + { 101 + text: "How-To Guides", 102 + collapsed: false, 103 + items: [ 104 + { text: "Install wire", link: "/guides/installation" }, 49 105 { 50 - text: "CI Server", 51 - link: "https://buildbot.althaea.zone/#/projects/1", 106 + text: "Write a Hive", 107 + link: "/guides/writing-a-hive", 108 + }, 109 + { text: "Migrate to wire", link: "/guides/migrate" }, 110 + { 111 + text: "Use Flakes", 112 + link: "/guides/flakes/overview", 113 + items: [ 114 + { 115 + text: "Keep Using nixos-rebuild", 116 + link: "/guides/flakes/nixos-rebuild", 117 + }, 118 + ], 119 + }, 120 + { text: "Apply your Config", link: "/guides/apply" }, 121 + { text: "Target Nodes", link: "/guides/targeting" }, 122 + { 123 + text: "Features", 124 + items: [ 125 + { 126 + text: "Use a non-root user", 127 + link: "/guides/non-root-user", 128 + }, 129 + { text: "Manage Secrets", link: "/guides/keys" }, 130 + { text: "Use Parallelism", link: "/guides/parallelism" }, 131 + { text: "Use hive.default", link: "/guides/hive-default" }, 132 + ], 52 133 }, 53 134 ], 54 135 }, 136 + { text: "CLI & Module Reference", link: "/reference/cli.html" }, 55 137 ], 56 - 57 - sidebar: { 58 - "/": [ 59 - { 60 - text: "Tutorial", 61 - collapsed: false, 62 - items: [ 63 - { text: "Overview", link: "/tutorial/overview" }, 64 - { 65 - text: "Part One", 66 - items: [ 67 - { 68 - text: "Nix Setup", 69 - link: "/tutorial/part-one/nix-setup", 70 - }, 71 - { 72 - text: "Preparing Repo & Shell", 73 - link: "/tutorial/part-one/repo-setup", 74 - }, 75 - { 76 - text: "Creating a Virtual Machine", 77 - link: "/tutorial/part-one/vm-setup", 78 - }, 79 - { 80 - text: "Basic Hive & Deployment", 81 - link: "/tutorial/part-one/basic-hive", 82 - }, 83 - ], 84 - }, 85 - { 86 - text: "Part Two", 87 - items: [ 88 - { 89 - text: "Basic Deployment Keys", 90 - link: "/tutorial/part-two/basic-keys", 91 - }, 92 - { 93 - text: "Encrypted Deployment Keys", 94 - link: "/tutorial/part-two/encryption", 95 - }, 96 - ], 97 - }, 98 - ], 99 - }, 100 - { 101 - text: "How-To Guides", 102 - collapsed: false, 103 - items: [ 104 - { text: "Install wire", link: "/guides/installation" }, 105 - { 106 - text: "Write a Hive", 107 - link: "/guides/writing-a-hive", 108 - }, 109 - { text: "Migrate to wire", link: "/guides/migrate" }, 110 - { 111 - text: "Use Flakes", 112 - link: "/guides/flakes/overview", 113 - items: [ 114 - { 115 - text: "Keep Using nixos-rebuild", 116 - link: "/guides/flakes/nixos-rebuild", 117 - }, 118 - ], 119 - }, 120 - { text: "Apply your Config", link: "/guides/apply" }, 121 - { text: "Target Nodes", link: "/guides/targeting" }, 122 - { 123 - text: "Features", 124 - items: [ 125 - { 126 - text: "Use a non-root user", 127 - link: "/guides/non-root-user", 128 - }, 129 - { text: "Manage Secrets", link: "/guides/keys" }, 130 - { text: "Use Parallelism", link: "/guides/parallelism" }, 131 - { text: "Use hive.default", link: "/guides/hive-default" }, 132 - ], 133 - }, 134 - ], 135 - }, 136 - { text: "CLI & Module Reference", link: "/reference/cli.html" }, 137 - ], 138 - "/reference/": [ 139 - { 140 - text: "Reference", 141 - items: [ 142 - { text: "CLI", link: "/reference/cli" }, 143 - { text: "Meta Options", link: "/reference/meta" }, 144 - { text: "Module Options", link: "/reference/module" }, 145 - { text: "Error Codes", link: "/reference/errors" }, 146 - ], 147 - }, 148 - ], 149 - }, 150 - 151 - editLink: { 152 - pattern: "https://github.com/mrshmllow/wire/edit/trunk/doc/:path", 153 - text: "Edit this page on GitHub", 154 - }, 155 - 156 - socialLinks: [ 157 - { icon: "github", link: "https://github.com/mrshmllow/wire" }, 138 + "/reference/": [ 139 + { 140 + text: "Reference", 141 + items: [ 142 + { text: "CLI", link: "/reference/cli" }, 143 + { text: "Meta Options", link: "/reference/meta" }, 144 + { text: "Module Options", link: "/reference/module" }, 145 + { text: "Error Codes", link: "/reference/errors" }, 146 + ], 147 + }, 158 148 ], 159 149 }, 160 - markdown: { 161 - config: (md) => { 162 - md.use(markdownItFootnote); 163 - md.use(groupIconMdPlugin, { 164 - titleBar: { includeSnippet: true }, 165 - }); 166 - }, 150 + 151 + editLink: { 152 + pattern: "https://github.com/mrshmllow/wire/edit/trunk/doc/:path", 153 + text: "Edit this page on GitHub", 167 154 }, 168 - vite: { 169 - plugins: [ 170 - groupIconVitePlugin({ 171 - customIcon: { 172 - nixos: "vscode-icons:file-type-nix", 173 - "configuration.nix": "vscode-icons:file-type-nix", 174 - "hive.nix": "vscode-icons:file-type-nix", 175 - "flake.nix": "vscode-icons:file-type-nix", 176 - "module.nix": "vscode-icons:file-type-nix", 177 - "vm.nix": "vscode-icons:file-type-nix", 178 - "shell.nix": "vscode-icons:file-type-nix", 179 - "secrets.nix": "vscode-icons:file-type-nix", 180 - home: localIconLoader(import.meta.url, "../assets/homemanager.svg"), 181 - ".conf": "vscode-icons:file-type-config", 182 - }, 183 - }), 184 - ], 155 + 156 + socialLinks: [ 157 + { icon: "github", link: "https://github.com/mrshmllow/wire" }, 158 + ], 159 + }, 160 + markdown: { 161 + config: (md) => { 162 + md.use(markdownItFootnote); 163 + md.use(groupIconMdPlugin, { 164 + titleBar: { includeSnippet: true }, 165 + }); 185 166 }, 186 - }) 167 + }, 168 + vite: { 169 + plugins: [ 170 + groupIconVitePlugin({ 171 + customIcon: { 172 + nixos: "vscode-icons:file-type-nix", 173 + "configuration.nix": "vscode-icons:file-type-nix", 174 + "hive.nix": "vscode-icons:file-type-nix", 175 + "flake.nix": "vscode-icons:file-type-nix", 176 + "module.nix": "vscode-icons:file-type-nix", 177 + "vm.nix": "vscode-icons:file-type-nix", 178 + "shell.nix": "vscode-icons:file-type-nix", 179 + "secrets.nix": "vscode-icons:file-type-nix", 180 + home: localIconLoader(import.meta.url, "../assets/homemanager.svg"), 181 + ".conf": "vscode-icons:file-type-config", 182 + }, 183 + }), 184 + ], 185 + }, 186 + });
+2 -2
doc/guides/installation.md
··· 20 20 ## Binary Cache 21 21 22 22 You should enable the [garnix binary cache](https://garnix.io/docs/caching) 23 - *before* continuing otherwise you will be compiling from source: 23 + _before_ continuing otherwise you will be compiling from source: 24 24 25 25 ::: code-group 26 26 <<< @/snippets/tutorial/cache.conf [nix.conf] ··· 51 51 Alternatively, you can use a tag instead: 52 52 53 53 ```sh 54 - $ npins add github mrshmllow wire --at v1.0.0-beta.0 54 + $ npins add github mrshmllow wire --at v1.0.0 55 55 ``` 56 56 57 57 Then, use this pinned version of wire for both your `hive.nix` and `shell.nix`:
+1 -1
doc/package.json
··· 1 1 { 2 2 "name": "wire-docs", 3 - "version": "1.0.0-beta.0", 3 + "version": "1.0.0", 4 4 "type": "module", 5 5 "devDependencies": { 6 6 "vitepress": "^1.6.4",
+1 -1
doc/snippets/guides/installation/flake.nix
··· 4 4 wire.url = "github:mrshmllow/wire/stable"; 5 5 6 6 # alternatively, you can use a tag instead: 7 - # wire.url = "github:mrshmllow/wire/v1.0.0-beta.0"; 7 + # wire.url = "github:mrshmllow/wire/v1.0.0"; 8 8 9 9 systems.url = "github:nix-systems/default"; 10 10 };