2022-07-18 22:20:05 +00:00
|
|
|
{
|
|
|
|
self,
|
2022-07-21 06:08:50 +00:00
|
|
|
hakyll-skeleton,
|
2023-05-09 13:54:45 +00:00
|
|
|
reciproka-web,
|
2023-04-05 05:55:44 +00:00
|
|
|
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 {
|
2023-04-05 05:55:44 +00:00
|
|
|
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 = {
|
2023-05-09 13:54:45 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
};
|
2023-04-20 03:45:06 +00:00
|
|
|
toscano = {
|
|
|
|
imports = [
|
|
|
|
./nixos/hosts/toscano/configuration.nix
|
|
|
|
ragenix.nixosModules.default
|
|
|
|
];
|
|
|
|
};
|
2022-07-20 04:13:22 +00:00
|
|
|
};
|
2023-04-29 11:31:49 +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
|
|
|
}
|