reciproka-ops/outputs.nix

42 lines
885 B
Nix
Raw Normal View History

2022-07-18 22:20:05 +00:00
{
self,
2022-07-21 06:08:50 +00:00
hakyll-skeleton,
2022-07-20 04:34:07 +00:00
jfdic-web,
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 {
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 = "jfdi collective's NixOS deployment";
name = "jfdic-ops";
nixpkgs = import nixpkgs {
system = "x86_64-linux";
overlays = [];
2022-07-20 04:13:22 +00:00
};
};
2022-07-20 03:36:14 +00:00
toscano = import ./nixos/hosts/toscano/configuration.nix;
nixosConfigurations = import ./nixos/configurations.nix (inputs
// {
inherit inputs;
});
2022-07-20 04:13:22 +00:00
};
2022-07-18 22:20:05 +00:00
}