fix: update deploy-rs usage and nix version for mirai and related systems
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
hostName = "sh.darksailor.dev";
|
||||
hostName = "mirai.darksailor.dev";
|
||||
sshUser = "remotebuilder";
|
||||
systems = ["x86_64-linux" "aarch64-linux"];
|
||||
protocol = "ssh-ng";
|
||||
|
||||
15
deploy.nix
15
deploy.nix
@@ -1,6 +1,7 @@
|
||||
{
|
||||
inputs,
|
||||
self,
|
||||
deploy-rs,
|
||||
...
|
||||
}: {
|
||||
nodes = {
|
||||
@@ -8,7 +9,7 @@
|
||||
hostname = "mirai.darksailor.dev";
|
||||
profiles.system = {
|
||||
sshUser = "fs0c131y";
|
||||
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.mirai;
|
||||
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.mirai;
|
||||
user = "root";
|
||||
};
|
||||
};
|
||||
@@ -16,7 +17,7 @@
|
||||
hostname = "tsuba.darksailor.dev";
|
||||
profiles.system = {
|
||||
sshUser = "servius";
|
||||
path = inputs.deploy-rs.lib.aarch64-linux.activate.nixos self.nixosConfigurations.tsuba;
|
||||
path = deploy-rs.lib.aarch64-linux.activate.nixos self.nixosConfigurations.tsuba;
|
||||
user = "root";
|
||||
};
|
||||
};
|
||||
@@ -24,7 +25,7 @@
|
||||
hostname = "ryu";
|
||||
profiles.system = {
|
||||
sshUser = "servius";
|
||||
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.ryu;
|
||||
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.ryu;
|
||||
user = "root";
|
||||
};
|
||||
};
|
||||
@@ -32,7 +33,7 @@
|
||||
hostname = "tako.darksailor.dev";
|
||||
profiles.system = {
|
||||
sshUser = "servius";
|
||||
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.tako;
|
||||
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.tako;
|
||||
user = "root";
|
||||
};
|
||||
};
|
||||
@@ -41,7 +42,7 @@
|
||||
# interactiveSudo = true;
|
||||
# profiles.system = {
|
||||
# sshUser = "fs0c131y";
|
||||
# path = inputs.deploy-rs.lib.aarch64-darwin.activate.darwin self.darwinConfigurations.kuro;
|
||||
# path = deploy-rs.lib.aarch64-darwin.activate.darwin self.darwinConfigurations.kuro;
|
||||
# user = "root";
|
||||
# };
|
||||
# };
|
||||
@@ -50,7 +51,7 @@
|
||||
# interactiveSudo = true;
|
||||
# profiles.system = {
|
||||
# sshUser = "servius";
|
||||
# path = inputs.deploy-rs.lib.aarch64-darwin.activate.darwin self.darwinConfigurations.shiro;
|
||||
# path = deploy-rs.lib.aarch64-darwin.activate.darwin self.darwinConfigurations.shiro;
|
||||
# user = "root";
|
||||
# };
|
||||
# };
|
||||
@@ -58,7 +59,7 @@
|
||||
# hostname = "steamdeck";
|
||||
# profiles.system = {
|
||||
# sshUser = "deck";
|
||||
# path = inputs.deploy-rs.lib.x86_64-linux.activate.home-manager self.homeConfigurations.deck;
|
||||
# path = deploy-rs.lib.x86_64-linux.activate.home-manager self.homeConfigurations.deck;
|
||||
# user = "deck";
|
||||
# };
|
||||
# };
|
||||
|
||||
@@ -399,7 +399,8 @@
|
||||
in {
|
||||
tsuba = mkImage nixos.tsuba;
|
||||
};
|
||||
deploy = import ./deploy.nix {inherit inputs self;};
|
||||
deploy = import ./deploy.nix {inherit inputs self deploy-rs;};
|
||||
checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;
|
||||
inherit devices;
|
||||
}
|
||||
// flake-utils.lib.eachDefaultSystem (
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
bottom
|
||||
btop
|
||||
cachix
|
||||
deploy-rs
|
||||
deploy-rs.deploy-rs
|
||||
dust
|
||||
fd
|
||||
file
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
dates = "daily";
|
||||
options = "--delete-older-than 5d";
|
||||
};
|
||||
package = pkgs.nixVersions.nix_2_31; # deploy-rs doesn't work with nix >= 2.32
|
||||
package = pkgs.nixVersions.latest; # deploy-rs doesn't work with nix >= 2.32
|
||||
distributedBuilds = true;
|
||||
};
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
dates = "daily";
|
||||
options = "--delete-older-than +5";
|
||||
};
|
||||
package = pkgs.nixVersions.nix_2_31; # deploy-rs doesn't work with nix >= 2.32
|
||||
package = pkgs.nixVersions.latest; # deploy-rs doesn't work with nix >= 2.32
|
||||
buildMachines = [
|
||||
../../builders/tako.nix
|
||||
../../builders/mirai.nix
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
dates = "daily";
|
||||
options = "--delete-older-than 5d";
|
||||
};
|
||||
package = pkgs.nixVersions.nix_2_31; # deploy-rs doesn't work with nix >= 2.32
|
||||
package = pkgs.nixVersions.latest; # deploy-rs doesn't work with nix >= 2.32
|
||||
distributedBuilds = true;
|
||||
};
|
||||
|
||||
|
||||
@@ -278,6 +278,7 @@ in
|
||||
anyrun-overlay
|
||||
catppuccinThemes
|
||||
csshacks
|
||||
inputs.deploy-rs.overlays.default
|
||||
inputs.nix-minecraft.overlay
|
||||
inputs.nur.overlays.default
|
||||
inputs.rust-overlay.overlays.default
|
||||
|
||||
Reference in New Issue
Block a user