reciproka-ops/outputs.nix

64 lines
1.3 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,
2024-10-08 06:11:49 +00:00
nix,
2022-07-18 22:20:05 +00:00
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 {
2024-10-08 06:11:49 +00:00
inherit (nix.packages."${pkgs.system}") 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 (nixpkgsUnstable.legacyPackages."${pkgs.system}") alejandra;
};
}))
// {
2022-07-20 03:36:14 +00:00
colmena = {
meta = {
description = "NixOS deployment for Reciproka Kolektivo";
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
};
};
2024-10-08 06:11:49 +00:00
defaults = {
};
2024-02-29 17:18:54 +00:00
flemming = {
imports = [
./nixos/hosts/flemming
ragenix.nixosModules.default
];
};
2024-03-05 13:05:20 +00:00
pred = {
imports = [
./nixos/hosts/pred
ragenix.nixosModules.default
];
};
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
}