reciproka-ops/outputs.nix
Fiscal Velvet Poet 8723cbec53
ragenix: migrate forgejo to agenix for secrets
progresses #1
resolves #11
2023-04-29 23:34:16 +10:00

50 lines
1 KiB
Nix

{
self,
hakyll-skeleton,
jfdic-web,
ragenix,
colmena,
nix,
nixpkgs,
nixpkgsUnstable,
resrok-web,
utils,
voc-web,
...
} @ inputs:
(utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages."${system}";
in {
devShell =
pkgs.callPackage
./shell.nix {
inherit (ragenix.packages."${pkgs.system}") ragenix;
inherit (colmena.packages."${pkgs.system}") colmena;
inherit (nix.packages."${pkgs.system}") nix;
inherit (nixpkgsUnstable.legacyPackages."${pkgs.system}") alejandra;
};
}))
// {
colmena = {
meta = {
description = "jfdi collective's NixOS deployment";
name = "jfdic-ops";
nixpkgs = import nixpkgs {
system = "x86_64-linux";
overlays = [];
};
};
toscano = {
imports = [
./nixos/hosts/toscano/configuration.nix
ragenix.nixosModules.default
];
};
};
# The below lines are in the wrong place
#nixosConfigurations = import ./nixos/configurations.nix (inputs
# // {
# inherit inputs;
# });
}