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,
|
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;
|
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 (nixpkgsUnstable.legacyPackages."${pkgs.system}") alejandra;
|
|
|
|
};
|
|
|
|
}))
|
|
|
|
// {
|
2022-07-20 03:36:14 +00:00
|
|
|
colmena = {
|
|
|
|
meta = {
|
2024-01-09 15:28:40 +00:00
|
|
|
description = "NixOS deployment for Reciproka Kolektivo";
|
2023-05-09 13:54:45 +00:00
|
|
|
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-09 08:16:21 +00:00
|
|
|
defaults = {pkgs, ...}: {
|
|
|
|
imports = [
|
|
|
|
ragenix.nixosModules.default
|
|
|
|
];
|
2024-10-08 06:11:49 +00:00
|
|
|
};
|
2024-02-29 17:18:54 +00:00
|
|
|
flemming = {
|
|
|
|
imports = [
|
|
|
|
./nixos/hosts/flemming
|
|
|
|
];
|
|
|
|
};
|
2024-03-05 13:05:20 +00:00
|
|
|
pred = {
|
|
|
|
imports = [
|
|
|
|
./nixos/hosts/pred
|
|
|
|
];
|
|
|
|
};
|
2023-04-20 03:45:06 +00:00
|
|
|
toscano = {
|
|
|
|
imports = [
|
|
|
|
./nixos/hosts/toscano/configuration.nix
|
|
|
|
];
|
|
|
|
};
|
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
|
|
|
}
|