reciproka-ops/outputs.nix

50 lines
1.1 KiB
Nix
Raw Normal View History

2022-07-18 22:20:05 +00:00
{
self,
2022-07-21 06:08:50 +00:00
hakyll-skeleton,
reciproka-web,
ragenix,
2022-07-19 04:05:08 +00:00
colmena,
2022-07-18 22:20:05 +00:00
nix,
nixpkgs,
nixpkgsUnstable,
2022-07-21 05:50:13 +00:00
resrok-web,
2022-07-18 22:20:05 +00:00
utils,
2022-07-21 06:00:18 +00:00
voc-web,
2022-07-18 22:20:05 +00:00
...
} @ inputs:
(utils.lib.eachDefaultSystem (system: let
2022-07-19 04:05:08 +00:00
pkgs = nixpkgs.legacyPackages."${system}";
2022-07-18 22:20:05 +00:00
in {
devShell =
pkgs.callPackage
./shell.nix {
inherit (ragenix.packages."${pkgs.system}") ragenix;
2022-07-19 04:05:08 +00:00
inherit (colmena.packages."${pkgs.system}") colmena;
2022-07-18 22:20:05 +00:00
inherit (nix.packages."${pkgs.system}") nix;
inherit (nixpkgsUnstable.legacyPackages."${pkgs.system}") alejandra;
};
}))
// {
2022-07-20 03:36:14 +00:00
colmena = {
meta = {
description = "NixOS deployment for Reciproka Kolectiva";
name = "reciproka-ops";
2022-07-20 03:36:14 +00:00
nixpkgs = import nixpkgs {
system = "x86_64-linux";
overlays = [];
2022-07-20 04:13:22 +00:00
};
};
toscano = {
imports = [
./nixos/hosts/toscano/configuration.nix
ragenix.nixosModules.default
];
};
2022-07-20 04:13:22 +00:00
};
# The below lines are in the wrong place
#nixosConfigurations = import ./nixos/configurations.nix (inputs
# // {
# inherit inputs;
# });
2022-07-18 22:20:05 +00:00
}