depot/modules/default.nix

56 lines
1.2 KiB
Nix
Raw Normal View History

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;
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;
monitoring = import ./monitoring;
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 = import ./nix-config;
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;
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
2022-04-01 20:21:44 +03:00
maintenance
2022-05-27 17:39:20 +03:00
minimal
2022-05-17 01:02:24 +03:00
motd
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
monitoring
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 ++ [
sss
];
2021-06-05 23:59:06 +03:00
};
}