diff --git a/CHANGELOG.md b/CHANGELOG.md
index bccefbb..c453814 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] - yyyy-mm-dd
+## [v1.0.0] - 2025-12-17
+
### Added
- SIGINT signal handling
diff --git a/Cargo.lock b/Cargo.lock
index 12f7048..92190e0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1121,7 +1121,7 @@ dependencies = [
[[package]]
name = "key_agent"
-version = "1.0.0-beta.0"
+version = "1.0.0"
dependencies = [
"anyhow",
"base64",
@@ -1145,7 +1145,7 @@ dependencies = [
[[package]]
name = "lib"
-version = "1.0.0-beta.0"
+version = "1.0.0"
dependencies = [
"aho-corasick",
"anyhow",
@@ -3211,7 +3211,7 @@ dependencies = [
[[package]]
name = "wire"
-version = "1.0.0-beta.0"
+version = "1.0.0"
dependencies = [
"clap",
"clap-markdown",
diff --git a/Cargo.toml b/Cargo.toml
index 6745e8a..4b28757 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -2,7 +2,7 @@
members = ["wire/key_agent", "wire/lib", "wire/cli"]
resolver = "2"
package.edition = "2024"
-package.version = "1.0.0-beta.0"
+package.version = "1.0.0"
[workspace.metadata.crane]
name = "wire"
diff --git a/bench/runner.nix b/bench/runner.nix
index 9cc6eda..e2184a1 100644
--- a/bench/runner.nix
+++ b/bench/runner.nix
@@ -109,9 +109,7 @@ in
name = "benchmark";
defaults =
- {
- ...
- }:
+ _:
let
# hive = builtins.scopedImport {
# __nixPath = _b: null;
diff --git a/doc/.vitepress/config.ts b/doc/.vitepress/config.ts
index bb4880c..190b685 100644
--- a/doc/.vitepress/config.ts
+++ b/doc/.vitepress/config.ts
@@ -11,176 +11,176 @@ const MODE = (process.env.MODE ?? "unstable") as "unstable" | "stable";
// https://vitepress.dev/reference/site-config
export default defineConfig({
- title: MODE === "stable" ? "wire" : "wire (unstable!)",
- description: "a tool to deploy nixos systems",
- themeConfig: {
- search: {
- provider: "local",
- },
+ title: MODE === "stable" ? "wire" : "wire (unstable!)",
+ description: "a tool to deploy nixos systems",
+ themeConfig: {
+ search: {
+ provider: "local",
+ },
+
+ footer: {
+ message:
+ 'Released under the AGPL-3.0 License.',
+ copyright: "Copyright 2024-2025 wire Contributors",
+ },
- footer: {
- message:
- 'Released under the AGPL-3.0 License.',
- copyright: "Copyright 2024-2025 wire Contributors",
+ // https://vitepress.dev/reference/default-theme-config
+ nav: [
+ { text: "Home", link: "/" },
+ { text: "Tutorial", link: "/tutorial/overview" },
+ { text: "Guides", link: "/guides/installation" },
+ { text: "Reference", link: "/reference/cli" },
+ {
+ text: MODE === "stable" ? pkg.version : "Unstable",
+ items: [
+ MODE === "unstable"
+ ? {
+ text: `View ${pkg.version}`,
+ link: "https://wire.althaea.zone",
+ }
+ : {
+ text: "View Unstable",
+ link: "https://trunk.wire-docs.pages.dev",
+ },
+ {
+ text: "Changelog",
+ link: "https://github.com/mrshmllow/wire/blob/trunk/CHANGELOG.md",
+ },
+ {
+ text: "CI Server",
+ link: "https://buildbot.althaea.zone/#/projects/1",
+ },
+ ],
},
+ ],
- // https://vitepress.dev/reference/default-theme-config
- nav: [
- { text: "Home", link: "/" },
- { text: "Tutorial", link: "/tutorial/overview" },
- { text: "Guides", link: "/guides/installation" },
- { text: "Reference", link: "/reference/cli" },
+ sidebar: {
+ "/": [
{
- text: MODE === "stable" ? pkg.version : "Unstable",
+ text: "Tutorial",
+ collapsed: false,
items: [
- MODE === "unstable"
- ? {
- text: `View ${pkg.version}`,
- link: "https://wire.althaea.zone",
- }
- : {
- text: "View Unstable",
- link: "https://trunk.wire-docs.pages.dev",
+ { text: "Overview", link: "/tutorial/overview" },
+ {
+ text: "Part One",
+ items: [
+ {
+ text: "Nix Setup",
+ link: "/tutorial/part-one/nix-setup",
+ },
+ {
+ text: "Preparing Repo & Shell",
+ link: "/tutorial/part-one/repo-setup",
+ },
+ {
+ text: "Creating a Virtual Machine",
+ link: "/tutorial/part-one/vm-setup",
+ },
+ {
+ text: "Basic Hive & Deployment",
+ link: "/tutorial/part-one/basic-hive",
},
+ ],
+ },
+ {
+ text: "Part Two",
+ items: [
+ {
+ text: "Basic Deployment Keys",
+ link: "/tutorial/part-two/basic-keys",
+ },
+ {
+ text: "Encrypted Deployment Keys",
+ link: "/tutorial/part-two/encryption",
+ },
+ ],
+ },
+ ],
+ },
+ {
+ text: "How-To Guides",
+ collapsed: false,
+ items: [
+ { text: "Install wire", link: "/guides/installation" },
{
- text: "Changelog",
- link: "https://github.com/mrshmllow/wire/blob/trunk/CHANGELOG.md",
+ text: "Write a Hive",
+ link: "/guides/writing-a-hive",
},
+ { text: "Migrate to wire", link: "/guides/migrate" },
{
- text: "CI Server",
- link: "https://buildbot.althaea.zone/#/projects/1",
+ text: "Use Flakes",
+ link: "/guides/flakes/overview",
+ items: [
+ {
+ text: "Keep Using nixos-rebuild",
+ link: "/guides/flakes/nixos-rebuild",
+ },
+ ],
+ },
+ { text: "Apply your Config", link: "/guides/apply" },
+ { text: "Target Nodes", link: "/guides/targeting" },
+ {
+ text: "Features",
+ items: [
+ {
+ text: "Use a non-root user",
+ link: "/guides/non-root-user",
+ },
+ { text: "Manage Secrets", link: "/guides/keys" },
+ { text: "Use Parallelism", link: "/guides/parallelism" },
+ { text: "Use hive.default", link: "/guides/hive-default" },
+ ],
},
],
},
+ { text: "CLI & Module Reference", link: "/reference/cli.html" },
],
-
- sidebar: {
- "/": [
- {
- text: "Tutorial",
- collapsed: false,
- items: [
- { text: "Overview", link: "/tutorial/overview" },
- {
- text: "Part One",
- items: [
- {
- text: "Nix Setup",
- link: "/tutorial/part-one/nix-setup",
- },
- {
- text: "Preparing Repo & Shell",
- link: "/tutorial/part-one/repo-setup",
- },
- {
- text: "Creating a Virtual Machine",
- link: "/tutorial/part-one/vm-setup",
- },
- {
- text: "Basic Hive & Deployment",
- link: "/tutorial/part-one/basic-hive",
- },
- ],
- },
- {
- text: "Part Two",
- items: [
- {
- text: "Basic Deployment Keys",
- link: "/tutorial/part-two/basic-keys",
- },
- {
- text: "Encrypted Deployment Keys",
- link: "/tutorial/part-two/encryption",
- },
- ],
- },
- ],
- },
- {
- text: "How-To Guides",
- collapsed: false,
- items: [
- { text: "Install wire", link: "/guides/installation" },
- {
- text: "Write a Hive",
- link: "/guides/writing-a-hive",
- },
- { text: "Migrate to wire", link: "/guides/migrate" },
- {
- text: "Use Flakes",
- link: "/guides/flakes/overview",
- items: [
- {
- text: "Keep Using nixos-rebuild",
- link: "/guides/flakes/nixos-rebuild",
- },
- ],
- },
- { text: "Apply your Config", link: "/guides/apply" },
- { text: "Target Nodes", link: "/guides/targeting" },
- {
- text: "Features",
- items: [
- {
- text: "Use a non-root user",
- link: "/guides/non-root-user",
- },
- { text: "Manage Secrets", link: "/guides/keys" },
- { text: "Use Parallelism", link: "/guides/parallelism" },
- { text: "Use hive.default", link: "/guides/hive-default" },
- ],
- },
- ],
- },
- { text: "CLI & Module Reference", link: "/reference/cli.html" },
- ],
- "/reference/": [
- {
- text: "Reference",
- items: [
- { text: "CLI", link: "/reference/cli" },
- { text: "Meta Options", link: "/reference/meta" },
- { text: "Module Options", link: "/reference/module" },
- { text: "Error Codes", link: "/reference/errors" },
- ],
- },
- ],
- },
-
- editLink: {
- pattern: "https://github.com/mrshmllow/wire/edit/trunk/doc/:path",
- text: "Edit this page on GitHub",
- },
-
- socialLinks: [
- { icon: "github", link: "https://github.com/mrshmllow/wire" },
+ "/reference/": [
+ {
+ text: "Reference",
+ items: [
+ { text: "CLI", link: "/reference/cli" },
+ { text: "Meta Options", link: "/reference/meta" },
+ { text: "Module Options", link: "/reference/module" },
+ { text: "Error Codes", link: "/reference/errors" },
+ ],
+ },
],
},
- markdown: {
- config: (md) => {
- md.use(markdownItFootnote);
- md.use(groupIconMdPlugin, {
- titleBar: { includeSnippet: true },
- });
- },
+
+ editLink: {
+ pattern: "https://github.com/mrshmllow/wire/edit/trunk/doc/:path",
+ text: "Edit this page on GitHub",
},
- vite: {
- plugins: [
- groupIconVitePlugin({
- customIcon: {
- nixos: "vscode-icons:file-type-nix",
- "configuration.nix": "vscode-icons:file-type-nix",
- "hive.nix": "vscode-icons:file-type-nix",
- "flake.nix": "vscode-icons:file-type-nix",
- "module.nix": "vscode-icons:file-type-nix",
- "vm.nix": "vscode-icons:file-type-nix",
- "shell.nix": "vscode-icons:file-type-nix",
- "secrets.nix": "vscode-icons:file-type-nix",
- home: localIconLoader(import.meta.url, "../assets/homemanager.svg"),
- ".conf": "vscode-icons:file-type-config",
- },
- }),
- ],
+
+ socialLinks: [
+ { icon: "github", link: "https://github.com/mrshmllow/wire" },
+ ],
+ },
+ markdown: {
+ config: (md) => {
+ md.use(markdownItFootnote);
+ md.use(groupIconMdPlugin, {
+ titleBar: { includeSnippet: true },
+ });
},
- })
+ },
+ vite: {
+ plugins: [
+ groupIconVitePlugin({
+ customIcon: {
+ nixos: "vscode-icons:file-type-nix",
+ "configuration.nix": "vscode-icons:file-type-nix",
+ "hive.nix": "vscode-icons:file-type-nix",
+ "flake.nix": "vscode-icons:file-type-nix",
+ "module.nix": "vscode-icons:file-type-nix",
+ "vm.nix": "vscode-icons:file-type-nix",
+ "shell.nix": "vscode-icons:file-type-nix",
+ "secrets.nix": "vscode-icons:file-type-nix",
+ home: localIconLoader(import.meta.url, "../assets/homemanager.svg"),
+ ".conf": "vscode-icons:file-type-config",
+ },
+ }),
+ ],
+ },
+});
diff --git a/doc/guides/installation.md b/doc/guides/installation.md
index e376618..dd18809 100644
--- a/doc/guides/installation.md
+++ b/doc/guides/installation.md
@@ -20,7 +20,7 @@ It is recommended you stick to either using a tagged version of wire, or the `st
## Binary Cache
You should enable the [garnix binary cache](https://garnix.io/docs/caching)
-*before* continuing otherwise you will be compiling from source:
+_before_ continuing otherwise you will be compiling from source:
::: code-group
<<< @/snippets/tutorial/cache.conf [nix.conf]
@@ -51,7 +51,7 @@ $ npins add github mrshmllow wire --branch stable
Alternatively, you can use a tag instead:
```sh
-$ npins add github mrshmllow wire --at v1.0.0-beta.0
+$ npins add github mrshmllow wire --at v1.0.0
```
Then, use this pinned version of wire for both your `hive.nix` and `shell.nix`:
diff --git a/doc/package.json b/doc/package.json
index 494901f..61233c6 100644
--- a/doc/package.json
+++ b/doc/package.json
@@ -1,6 +1,6 @@
{
"name": "wire-docs",
- "version": "1.0.0-beta.0",
+ "version": "1.0.0",
"type": "module",
"devDependencies": {
"vitepress": "^1.6.4",
diff --git a/doc/snippets/guides/installation/flake.nix b/doc/snippets/guides/installation/flake.nix
index 201222d..7a9ab1f 100644
--- a/doc/snippets/guides/installation/flake.nix
+++ b/doc/snippets/guides/installation/flake.nix
@@ -4,7 +4,7 @@
wire.url = "github:mrshmllow/wire/stable";
# alternatively, you can use a tag instead:
- # wire.url = "github:mrshmllow/wire/v1.0.0-beta.0";
+ # wire.url = "github:mrshmllow/wire/v1.0.0";
systems.url = "github:nix-systems/default";
};