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

24 lines
337 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
2023-12-22 20:28:52 +01:00
./syncthing.nix
./nginx.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
}