depot/modules/default.nix

31 lines
657 B
Nix
Raw Normal View History

2021-06-05 23:59:06 +03:00
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;
};
}