baryte: prepare initial sd image

This commit is contained in:
xinyangli 2024-12-29 01:01:38 +08:00
parent 25cef508c9
commit 465fa0e127
Signed by: xin
SSH key fingerprint: SHA256:UU5pRTl7NiLFJbWJZa+snLylZSXIz5rgHmwjzv8v4oE
3 changed files with 58 additions and 0 deletions

View file

@ -62,6 +62,11 @@
url = "github:xinyangli/comin";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-sbc = {
url = "github:nakato/nixos-sbc/main";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
@ -80,6 +85,7 @@
nix-index-database,
disko,
comin,
nixos-sbc,
...
}:
let
@ -147,6 +153,11 @@
disko.nixosModules.disko
./machines/biotite
];
baryte = [
nixos-sbc.nixosModules.default
nixos-sbc.nixosModules.boards.bananapi.bpir4
./machines/baryte
];
};
sharedColmenaModules = [
deploymentModule
@ -311,6 +322,9 @@
calcite = mkNixos {
hostname = "calcite";
};
baryte = mkNixos {
hostname = "baryte";
};
} // self.colmenaHive.nodes;
}