nixos-config/components/network/default.nix
2024-08-08 19:25:19 +02:00

24 lines
357 B
Nix

{ pkgs, lib, ... }:
with lib;
with types;
{
options.components.network = {
enable = mkOption {
type = bool;
default = true;
};
};
imports = [
#./avahi.nix
./hosts.nix
./nginx.nix
./sshd
./syncthing.nix
./tinc
./wifi.nix
./wireguard.nix
];
config = mkIf config.components.network.enable { };
}