2021-06-05 23:59:06 +03:00
|
|
|
inputs:
|
|
|
|
with builtins;
|
|
|
|
let
|
|
|
|
aspects = {
|
|
|
|
autopatch = import ./autopatch;
|
2021-10-16 15:28:30 +03:00
|
|
|
deploy-rs-receiver = import ./deploy-rs-receiver;
|
2021-06-05 23:59:06 +03:00
|
|
|
enterprise = import ./enterprise;
|
2021-10-16 15:31:10 +03:00
|
|
|
fail2ban = import ./fail2ban;
|
2021-06-05 23:59:06 +03:00
|
|
|
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;
|
2021-10-16 15:24:41 +03:00
|
|
|
sss = import ./sss;
|
2021-10-16 15:30:37 +03:00
|
|
|
system-recovery = import ./system-recovery;
|
2021-06-05 23:59:06 +03:00
|
|
|
};
|
|
|
|
in rec {
|
|
|
|
modules = aspects;
|
|
|
|
sets = with modules; rec {
|
|
|
|
base = [
|
|
|
|
autopatch
|
|
|
|
enterprise
|
|
|
|
];
|
|
|
|
|
|
|
|
networking = [ ssh ];
|
|
|
|
|
|
|
|
server = [
|
2021-10-16 15:28:30 +03:00
|
|
|
deploy-rs-receiver
|
2021-06-05 23:59:06 +03:00
|
|
|
nix-config-server
|
2021-10-16 15:30:37 +03:00
|
|
|
system-recovery
|
2021-06-05 23:59:06 +03:00
|
|
|
] ++ base ++ networking;
|
2021-10-16 15:31:24 +03:00
|
|
|
|
|
|
|
backbone = server ++ [
|
|
|
|
fail2ban
|
|
|
|
sss
|
|
|
|
];
|
2021-06-05 23:59:06 +03:00
|
|
|
};
|
|
|
|
}
|