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

41 lines
924 B
Nix

inputs:
with builtins;
let
aspects = {
autopatch = import ./autopatch;
deploy-rs-receiver = import ./deploy-rs-receiver;
enterprise = import ./enterprise;
fail2ban = import ./fail2ban;
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;
sss = import ./sss;
system-recovery = import ./system-recovery;
};
in rec {
modules = aspects;
sets = with modules; rec {
base = [
autopatch
enterprise
];
networking = [ ssh ];
server = [
deploy-rs-receiver
nix-config-server
system-recovery
] ++ base ++ networking;
backbone = server ++ [
fail2ban
sss
];
};
}