ALPHA: wire is a tool to deploy nixos systems
wire.althaea.zone/
1{
2 inputs = {
3 # ...
4 nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
5 wire.url = "github:forallsys/wire"; # [!code ++]
6 };
7
8 outputs = inputs @ {
9 # ...
10 nixpkgs,
11 wire, # [!code ++]
12 ...
13 }: {
14 nixosConfigurations.my-system = nixpkgs.lib.nixosSystem {
15 system = "x86_64-linux";
16 specialArgs = {inherit inputs;};
17 modules = [
18 # ...
19 (
20 {system, ...}: {
21 environment.systemPackages = [
22 wire.packages.${system}.wire # [!code ++]
23 ];
24 }
25 )
26 ];
27 };
28 };
29}