nixos-config/nixos/components/network/default.nix

23 lines
318 B
Nix
Raw Normal View History

2023-06-01 11:38:39 +02:00
{ pkgs, lib, ... }:
with lib;
with types;
2022-10-13 10:19:23 +02:00
{
2023-06-01 11:38:39 +02:00
options.components.network = {
enable = mkOption {
type = bool;
default = true;
};
};
2022-10-13 10:19:23 +02:00
imports = [
./sshd
2022-10-13 10:51:21 +02:00
./tinc
./hosts.nix
2023-06-01 11:38:39 +02:00
./wifi.nix
2023-06-10 20:57:07 +02:00
#./avahi.nix
#./bind9.nix
2022-10-13 10:19:23 +02:00
];
2023-06-01 11:38:39 +02:00
config = mkIf config.components.network.enable { };
2022-10-13 10:19:23 +02:00
}