use deploy-rs

This commit is contained in:
2025-06-18 20:54:39 -07:00
parent b17526a212
commit e65645c023
3 changed files with 91 additions and 12 deletions

View File

@@ -39,10 +39,15 @@
url = "github:nix-community/srvos";
inputs.nixpkgs.follows = "nixpkgs";
};
deploy-rs = {
url = "github:serokell/deploy-rs";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
{
self,
nixpkgs,
nix-minecraft,
nixos-hardware,
@@ -51,8 +56,8 @@
home-manager,
lanzaboote,
disko,
llamacpp,
srvos,
deploy-rs,
...
}@inputs:
let
@@ -236,5 +241,14 @@
common-gpu-intel
]);
};
deploy.nodes.muffin = {
hostname = "server-public";
profiles.system = {
sshUser = "root";
user = "root";
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.muffin;
};
};
};
}