Skip to content

Commit

Permalink
hyprspace: simplify vars generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Nov 18, 2024
1 parent d13b18d commit a392bb0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions machines/modules/hyprspace.nix
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@
];
script = ''
hyprspace init -c $out/hyprspace.json | tail -n+3 | jq '.name = "${config.clan.core.machineName}"' > $out/peer-id
key=$(jq -r '.privateKey' < $out/hyprspace.json)
echo $key > $out/private-key
jq -r '.privateKey' < $out/hyprspace.json > $out/private-key
'';
};

Expand Down

0 comments on commit a392bb0

Please sign in to comment.