init colmena for web-01

This commit is contained in:
sinavir 2023-05-16 23:50:06 +02:00
parent 7d11d6e8f8
commit fd95fe2c3c
4 changed files with 23 additions and 22 deletions

View file

@ -1,7 +0,0 @@
.nix

21
hive.nix Normal file
View file

@ -0,0 +1,21 @@
let
sources = import ./npins;
in
{
meta = {
nixpkgs = import sources.nixpkgs;
nodeNixpkgs = {
};
# TODO: Add remote builders (`machinesFile` option)
};
web-01 = { name, nodes, ... }: {
imports = [ ./machines/${name}/configuration.nix ];
deployment = {
targetUser = "root";
targetHost = "129.199.129.200";
};
};
}

View file

@ -14,19 +14,6 @@
"url": "https://api.github.com/repos/nix-community/disko/tarball/v1.0.0", "url": "https://api.github.com/repos/nix-community/disko/tarball/v1.0.0",
"hash": "153cm29hjgklsi1aw85srvcd3h3afm7j77llk4fj3slf5gcwnmx9" "hash": "153cm29hjgklsi1aw85srvcd3h3afm7j77llk4fj3slf5gcwnmx9"
}, },
"krops": {
"type": "GitRelease",
"repository": {
"type": "Git",
"url": "https://cgit.krebsco.de/krops"
},
"pre_releases": false,
"version_upper_bound": null,
"version": "1.28.2",
"revision": "59aa5d0e41cf4a6d4356673feb1adbd0fcf68936",
"url": null,
"hash": "1a2pgg52y577lpvg2kcyblr2lgjij1l2d4vv1i8xd5gmsaphcfji"
},
"nixpkgs": { "nixpkgs": {
"type": "Channel", "type": "Channel",
"name": "nixpkgs-unstable", "name": "nixpkgs-unstable",

View file

@ -5,7 +5,7 @@ in
pkgs.mkShell { pkgs.mkShell {
packages = [ packages = [
pkgs.npins pkgs.npins
pkgs.colmena
(pkgs.callPackage (sources.disko + "/package.nix") {}) (pkgs.callPackage (sources.disko + "/package.nix") {})
]; ];
} }
# ❄️ ❄️ ❄️