forked from Fediversity/Fediversity
More clean up of the deployment flake
Co-authored-by: Kiara Grouwstra <kiara@procolix.eu>
This commit is contained in:
parent
df182d5a67
commit
c6fb52915a
1 changed files with 6 additions and 4 deletions
|
@ -53,9 +53,11 @@ in
|
|||
makeProcolixVmResource = vmid: vmconfig: {
|
||||
type = providers.local.exec;
|
||||
imports = [ inputs.nixops4-nixos.modules.nixops4Resource.nixos ];
|
||||
ssh.opts = "";
|
||||
ssh.host = "95.215.187.${toString vmid}";
|
||||
ssh.hostPublicKey = readFile ./hostKeys/fedi${toString vmid}/ssh_host_ed25519_key.pub;
|
||||
|
||||
ssh = {
|
||||
host = "95.215.187.${toString vmid}";
|
||||
hostPublicKey = readFile ./hostKeys/fedi${toString vmid}/ssh_host_ed25519_key.pub;
|
||||
};
|
||||
|
||||
nixpkgs = inputs.nixpkgs;
|
||||
nixos.module = {
|
||||
|
@ -71,7 +73,7 @@ in
|
|||
|
||||
in
|
||||
{
|
||||
providers.local = inputs.nixops4.modules.nixops4Provider.local;
|
||||
providers = { inherit (inputs.nixops4.modules.nixops4Provider) local; };
|
||||
|
||||
resources = {
|
||||
fedi101 = makeProcolixVmResource 101 {
|
||||
|
|
Loading…
Add table
Reference in a new issue