Skip to content

Commit

Permalink
Comment out deployment stuff (check if CI passes)
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoruto committed Jan 7, 2025
1 parent ab97adb commit ca572e8
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -263,36 +263,36 @@
# devShells.${system} = import ./shells nixpkgs.legacyPackages.${system};
# packages.${system} = import ./pkgs nixpkgs.legacyPackages.${system};

colmenaHive = colmena.lib.makeHive self.outputs.colmena;
colmena =
let
conf = self.nixosConfigurations;
in
{
meta = {
description = "my personal machines";
nixpkgs = import nixpkgs {
inherit system;
# overlays = [ ];
};
# nodeNixpkgs = builtins.mapAttrs (name: value: value.pkgs) conf;
nodeSpecialArgs = builtins.mapAttrs (name: value: value._module.specialArgs) conf;
};
}
// builtins.mapAttrs (name: value: {
imports = value._module.args.modules;
inherit (machines.${name}) deployment;
}) conf;
# colmenaHive = colmena.lib.makeHive self.outputs.colmena;
# colmena =
# let
# conf = self.nixosConfigurations;
# in
# {
# meta = {
# description = "my personal machines";
# nixpkgs = import nixpkgs {
# inherit system;
# # overlays = [ ];
# };
# # nodeNixpkgs = builtins.mapAttrs (name: value: value.pkgs) conf;
# nodeSpecialArgs = builtins.mapAttrs (name: value: value._module.specialArgs) conf;
# };
# }
# // builtins.mapAttrs (name: value: {
# imports = value._module.args.modules;
# inherit (machines.${name}) deployment;
# }) conf;

checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;
deploy.nodes = builtins.mapAttrs (hostname: conf: {
inherit hostname;
profiles.system = {
user = "root";
path = deployPkgs.deploy-rs.lib.activate.nixos conf;
remoteBuild = true;
};
}) self.nixosConfigurations;
# checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;
# deploy.nodes = builtins.mapAttrs (hostname: conf: {
# inherit hostname;
# profiles.system = {
# user = "root";
# path = deployPkgs.deploy-rs.lib.activate.nixos conf;
# remoteBuild = true;
# };
# }) self.nixosConfigurations;
};

nixConfig = {
Expand Down

0 comments on commit ca572e8

Please sign in to comment.