depot/modules/default.nix

61 lines
1.3 KiB
Nix
Raw Normal View History

2022-05-28 22:49:54 +03:00
inputs:
2021-06-05 23:59:06 +03:00
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;
2022-03-31 20:42:20 +03:00
hercules-ci-agent = import ./hercules-ci-agent;
2021-06-05 23:59:06 +03:00
hydra = import ./hydra;
2022-02-05 20:09:02 +02:00
hyprspace = import ./hyprspace;
2022-02-03 21:36:14 +02:00
ipfs = import ./ipfs;
2022-04-01 20:21:44 +03:00
maintenance = import ./maintenance;
2022-05-27 17:39:20 +03:00
minimal = import ./minimal;
2022-05-17 01:02:24 +03:00
motd = import ./motd;
2021-06-05 23:59:06 +03:00
nix-builder = import ./nix-builder;
nix-config-server = import ./nix-config/server.nix;
nix-register-flakes = import ./nix-register-flakes;
2021-11-29 02:37:49 +02:00
port-magic = import ./port-magic;
2021-06-05 23:59:06 +03:00
shell-config = import ./shell-config;
ssh = import ./ssh;
2021-10-16 15:24:41 +03:00
sss = import ./sss;
2022-05-28 01:46:55 +03:00
system-info = import ./system-info;
2021-10-16 15:30:37 +03:00
system-recovery = import ./system-recovery;
2022-05-31 12:45:26 +03:00
tested = import ./tested;
2021-06-05 23:59:06 +03:00
};
in rec {
modules = aspects;
sets = with modules; rec {
2022-05-28 22:49:54 +03:00
base = [
2021-06-05 23:59:06 +03:00
autopatch
enterprise
2022-04-01 20:21:44 +03:00
maintenance
2022-05-27 17:39:20 +03:00
minimal
2021-06-05 23:59:06 +03:00
];
2021-11-29 02:37:49 +02:00
networking = [
port-magic
ssh
];
2021-06-05 23:59:06 +03:00
server = [
2021-10-16 15:28:30 +03:00
deploy-rs-receiver
fail2ban
motd
2021-06-05 23:59:06 +03:00
nix-config-server
2022-05-31 22:16:42 +03:00
system-info
2021-10-16 15:30:37 +03:00
system-recovery
2022-05-31 12:45:26 +03:00
tested
2021-06-05 23:59:06 +03:00
] ++ base ++ networking;
2021-10-16 15:31:24 +03:00
2022-05-28 22:49:54 +03:00
container = [
nix-config-server
] ++ base ++ networking;
2021-10-16 15:31:24 +03:00
backbone = server ++ [
sss
];
2021-06-05 23:59:06 +03:00
};
}