22 lines
318 B
Nix
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 { };
|
|
}
|