feat: Only deploy mirai

This commit is contained in:
uttarayan21
2024-10-01 15:13:38 +05:30
parent 34b34c8ce2
commit 0c30644fe3
2 changed files with 40 additions and 16 deletions

38
deploy.nix Normal file
View File

@@ -0,0 +1,38 @@
# {
# devices,
# inputs,
# deploy-rs,
# }: {
# mkNode = {
# device,
# target,
# config,
# }: {
# hostname = device.name;
# profiles.system = {
# user = device.user;
# path = deploy-rs.lib.${device.system}.activate.${target} config;
# };
# };
# nodes-x86_64-linux = builtins.map (device:
# mkNode {
# device = device;
# target = "nixos";
# config = self.nixosConfigurations.${device.name};
# })
# nixos_devices;
# nodes-aarch64-darwin = builtins.map (device:
# mkNode {
# device = device;
# target = "darwin";
# config = self.darwinConfigurations.${device.name};
# });
# deploy = {
# nodes = nodes-x86_64-linux ++ nodes-aarch64-darwin;
# };
#
# # checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;
# # checks = {
# # x86_64-linux = deploy-rs.lib.x86_64-linux.deployChecks self.deploy;
# # };
# }