mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
20 lines
355 B
Nix
20 lines
355 B
Nix
{ self
|
|
, deploy
|
|
, ...
|
|
}:
|
|
let
|
|
mkNode = server: ip: fast: {
|
|
hostname = "${ip}:22";
|
|
fastConnection = fast;
|
|
profiles.system.path =
|
|
deploy.lib.x86_64-linux.activate.nixos
|
|
self.nixosConfigurations."${server}";
|
|
};
|
|
in
|
|
{
|
|
user = "root";
|
|
sshUser = "felix";
|
|
nodes = {
|
|
serverle = mkNode "serverle" "192.167.178.60" true;
|
|
};
|
|
}
|