nixos-config/nixos/components/network/default.nix
2023-06-10 20:57:07 +02:00

22 lines
318 B
Nix

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