31 lines
657 B
Nix
31 lines
657 B
Nix
|
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;
|
||
|
};
|
||
|
}
|