Files
nix-config/modules/networking/socat.nix
Armel van Ravels 00a8168ef5 add den pattern
2026-08-14 15:08:14 +02:00

13 lines
258 B
Nix

{ config, lib, pkgs, ... }:
let
dirModules = config.features.modules.networking or { };
in
{
config = lib.mkIf ((dirModules.enable or false) && (dirModules.socat.enable or true)) {
environment.systemPackages = with pkgs; [
socat
];
};
}