reciproka-ops/outputs.nix
2024-10-29 23:07:33 +10:00

69 lines
1.3 KiB
Nix

{
self,
hakyll-skeleton,
reciproka-web,
ragenix,
colmena,
nix,
nixpkgs,
nixpkgsUnstable,
resrok-web,
utils,
voc-web,
...
} @ inputs:
(utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages."${system}";
in {
devShell =
pkgs.callPackage
./shell.nix {
inherit (nix.packages."${pkgs.system}") nix;
inherit (ragenix.packages."${pkgs.system}") ragenix;
inherit (colmena.packages."${pkgs.system}") colmena;
inherit (nixpkgsUnstable.legacyPackages."${pkgs.system}") alejandra;
};
}))
// {
colmena = {
meta = {
description = "NixOS deployment for Reciproka Kolektivo";
name = "reciproka-ops";
nixpkgs = import nixpkgs {
system = "x86_64-linux";
overlays = [];
};
};
defaults = {pkgs, ...}: {
imports = [
ragenix.nixosModules.default
];
};
flemming = {
imports = [
./nixos/hosts/flemming
];
};
hollows = {
imports = [
./nixos/hosts/hollows
];
};
pred = {
imports = [
./nixos/hosts/pred
];
};
toscano = {
imports = [
./nixos/hosts/toscano/configuration.nix
];
};
};
# The below lines are in the wrong place
#nixosConfigurations = import ./nixos/configurations.nix (inputs
# // {
# inherit inputs;
# });
}