Benjamin Bädorf
e8ad662631
This commit changes the file structure around, so that we have the following parts: `/modules` contains reusable logic blocks for hosts. `/hosts` contains host configurations. `/lib` contains nix library functions. `/overlays` contains overlay files. `/public-keys` contains all information regarding public keys. This change reduces the complexity of flake.nix, instead delegating this out to the `default.nix` files in the above directories.
31 lines
657 B
Nix
31 lines
657 B
Nix
{ ... }:
|
|
|
|
{
|
|
imports =
|
|
[ # Include the results of the hardware scan.
|
|
./hardware-configuration.nix
|
|
./configuration.nix
|
|
|
|
./networking.nix
|
|
./apps/nginx.nix
|
|
|
|
./apps/collabora.nix
|
|
./apps/forgejo.nix
|
|
./apps/keycloak.nix
|
|
./apps/mailman.nix
|
|
./apps/mastodon.nix
|
|
./apps/nextcloud.nix
|
|
./apps/owncast.nix
|
|
./apps/nginx-mastodon.nix
|
|
./apps/nginx-mastodon-files.nix
|
|
./apps/nginx-website.nix
|
|
./apps/opensearch.nix
|
|
./apps/postgresql.nix
|
|
./apps/searx.nix
|
|
|
|
./apps/matrix/mautrix-telegram.nix
|
|
./apps/matrix/synapse.nix
|
|
./apps/nginx-matrix.nix
|
|
];
|
|
}
|