add colmena
This commit is contained in:
parent
9c61da8046
commit
103ab720c5
3 changed files with 21 additions and 2 deletions
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
eval_secrets.nix diff=sops
|
21
flake.nix
21
flake.nix
|
@ -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
1
nixbuild.net
Normal file
|
@ -0,0 +1 @@
|
|||
ssh-ng://eu.nixbuild.net aarch64-linux - 100 1 big-parallel,benchmark
|
Loading…
Reference in a new issue