add colmena

This commit is contained in:
xinyangli 2023-10-06 22:03:47 +08:00
parent 9c61da8046
commit 103ab720c5
3 changed files with 21 additions and 2 deletions

1
.gitattributes vendored Normal file
View file

@ -0,0 +1 @@
eval_secrets.nix diff=sops

View file

@ -49,11 +49,28 @@
sops-nix.nixosModules.sops
] ++ modules;
};
evalSecrets = import ./eval_secrets.nix;
in
{
nixosModules = import ./modules/nixos;
homeManagerModules = import ./modules/home-manager;
colmena = {
meta = {
nixpkgs = import nixpkgs {
system = "x86_64-linux";
};
machinesFile = ./nixbuild.net;
};
massicot = { name, nodes, pkgs, ... }: with inputs; {
imports = [
{ nixpkgs.system = "aarch64-linux"; }
machines/massicot
];
};
};
nixosConfigurations.calcite = mkNixos {
system = "x86_64-linux";
modules = [
@ -68,8 +85,8 @@
modules = [
machines/massicot
(mkHome "xin" "gold")
]
}
];
};
nixosConfigurations.raspite = mkNixos {
system = "aarch64-linux";

1
nixbuild.net Normal file
View file

@ -0,0 +1 @@
ssh-ng://eu.nixbuild.net aarch64-linux - 100 1 big-parallel,benchmark