More clean up of the deployment flake

Co-authored-by: Kiara Grouwstra <kiara@procolix.eu>
This commit is contained in:
Nicolas Jeannerod 2025-02-20 13:21:34 +01:00
parent df182d5a67
commit c6fb52915a
Signed by untrusted user: Niols
GPG key ID: 35DB9EC8886E1CB8

View file

@ -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 {