nixos-config/config/fudo/common.nix
2020-01-15 11:24:11 -06:00

17 lines
369 B
Nix

# General Fudo config, shared across packages
{ config, lib, pkgs, ... }:
with lib;
{
options.fudo.common = {
local-networks = mkOption {
type = with types; listOf str;
description = ''
A list of networks to consider 'local'. Used by various services to
limit access to the external world.
'';
default = [];
};
};
}