depot/modules/default.nix
2022-01-14 22:49:37 +01:00

30 lines
657 B
Nix

inputs:
with builtins;
let
aspects = {
autopatch = import ./autopatch;
enterprise = import ./enterprise;
hydra = import ./hydra;
ipfs-lain = import ./ipfs-lain;
nix-builder = import ./nix-builder;
nix-config = import ./nix-config;
nix-config-server = import ./nix-config/server.nix;
nix-register-flakes = import ./nix-register-flakes;
shell-config = import ./shell-config;
ssh = import ./ssh;
};
in rec {
modules = aspects;
sets = with modules; rec {
base = [
autopatch
enterprise
];
networking = [ ssh ];
server = [
nix-config-server
] ++ base ++ networking;
};
}