20 lines
284 B
Nix
20 lines
284 B
Nix
{ pkgs, lib, ... }:
|
|
with lib;
|
|
with types;
|
|
{
|
|
options.components.network = {
|
|
enable = mkOption {
|
|
type = bool;
|
|
default = true;
|
|
};
|
|
};
|
|
|
|
imports = [
|
|
./sshd
|
|
./tinc
|
|
./hosts.nix
|
|
./wifi.nix
|
|
];
|
|
|
|
config = mkIf config.components.network.enable { };
|
|
}
|