1
0
nixfiles/flake.nix

82 lines
1.4 KiB
Nix
Raw Normal View History

2022-10-02 16:49:43 +02:00
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs, ... }: let
pkgs = import nixpkgs {
overlays = [
(import ./pkgs/overlay.nix)
];
system = "x86_64-linux";
};
system = "x86_64-linux";
in {
2022-10-02 16:49:43 +02:00
colmena = {
meta = {
nixpkgs = import nixpkgs {};
};
defaults = { name, ... }: {
imports = [
(./. + "/hosts/${name}/configuration.nix")
];
deployment = {
targetHost = "${name}.net.clerie.de";
targetUser = null;
};
};
# Hosts
backup-4 = { ... }: {};
carbon = { ... }: {};
clerie-backup = { ... }: {};
dn42-il-gw1 = { ... }: {};
dn42-il-gw5 = { ... }: {};
dn42-il-gw6 = { ... }: {};
dn42-ildix-clerie = { ... }: {};
gatekeeper = { ... }: {};
2022-10-02 16:51:23 +02:00
hydra-1 = { ... }: {};
2022-10-02 16:49:43 +02:00
minecraft-2 = { ... }: {};
monitoring-3 = { ... }: {};
nonat = { ... }: {};
osmium = { ... }: {};
palladium = { ... }: {};
porter = { ... }: {};
storage-2 = { ... }: {};
web-2 = { ... }: {};
};
packages.x86_64-linux = {
inherit (pkgs)
anycast_healthchecker
flask-excel
iot-data
pyexcel-xlsx
pyexcel-webio
uptimestatus
wetter;
};
hydraJobs = {
inherit (self) packages;
};
2022-10-02 16:49:43 +02:00
};
}