nixos-config/nixos/components/network/default.nix
2024-06-06 01:48:15 +02:00

26 lines
419 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
./zerotier.nix # todo: sshd must be first managed by clan
];
config = mkIf config.components.network.enable { };
}