feat(flake): Added pi4 deploy node

This commit is contained in:
GaspardCulis 2024-11-06 00:58:57 +01:00
parent 47f0dbd2d4
commit bae75ef0a4

View file

@ -128,7 +128,8 @@
}; };
}; };
deploy.nodes.OVHCloud = { deploy.nodes = {
OVHCloud = {
hostname = "gasdev.fr"; hostname = "gasdev.fr";
profiles.system = { profiles.system = {
user = "root"; user = "root";
@ -138,6 +139,17 @@
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.OVHCloud; path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.OVHCloud;
}; };
}; };
pi4 = {
hostname = "10.8.0.31";
profiles.system = {
user = "root";
sshUser = "root";
sshOpts = ["-p" "22"];
sudo = "";
path = deploy-rs.lib.aarch64-linux.activate.nixos self.nixosConfigurations.pi4;
};
};
};
images.pi4 = images.pi4 =
(self.nixosConfigurations.pi4.extendModules { (self.nixosConfigurations.pi4.extendModules {