summary refs log tree commit diff
path: root/nixos/modules/module-list.nix
diff options
context:
space:
mode:
authorYarny0 <41838844+Yarny0@users.noreply.github.com>2018-08-04 17:08:54 +0200
committerYarny0 <41838844+Yarny0@users.noreply.github.com>2018-09-08 14:21:40 +0200
commit12fa95f2d696b6babb365a27efef140e7113cc34 (patch)
tree85046edaf3247f85cce2dad2e31c56c881d2422c /nixos/modules/module-list.nix
parenta08b633fe7b636556ece29cc75448254b6ac3d28 (diff)
downloadnixlib-12fa95f2d696b6babb365a27efef140e7113cc34.tar
nixlib-12fa95f2d696b6babb365a27efef140e7113cc34.tar.gz
nixlib-12fa95f2d696b6babb365a27efef140e7113cc34.tar.bz2
nixlib-12fa95f2d696b6babb365a27efef140e7113cc34.tar.lz
nixlib-12fa95f2d696b6babb365a27efef140e7113cc34.tar.xz
nixlib-12fa95f2d696b6babb365a27efef140e7113cc34.tar.zst
nixlib-12fa95f2d696b6babb365a27efef140e7113cc34.zip
modules: HylaFAX server configuration
This commit adds the following
* the uucp user
* options for HylaFAX server to control startup and modems
* systemd services for HylaFAX server processes
  including faxgettys for modems
* systemd services to maintain the HylaFAX spool area,
  including cleanup with faxcron and faxqclean
* default configuration for all server processes
  for a minimal working configuration

Some notes:

* HylaFAX configuration cannot be initialized with faxsetup
  (as it would be common on other Linux distributions).
  The hylafaxplus package contains a template spool area.
* Modems are controlled by faxgetty.
  Send-only configuration (modems controlled by faxq)
  is not supported by this configuration setup.
* To enable the service, one or more modems must be defined with
  config.services.hylafax.modems .
* Sending mail *should* work:
  HylaFAX will use whatever is in
  config.services.mail.sendmailSetuidWrapper.program
  unless overridden with the sendmailPath option.
* The admin has to create a hosts.hfaxd file somewhere
  (e.g. in /etc) before enabling HylaFAX.
  This file controls access to the server (see hosts.hfaxd(5) ).
  Sadly, HylaFAX does not permit account-based access
  control as is accepts connections via TCP only.
* Active fax polling should work; I can't test it.
* Passive fax polling is not supported by HylaFAX.
* Pager transmissions (with sendpage) are disabled by default.
  I have never tested or used these.
* Incoming data/voice/"extern"al calls
  won't be handled by default.
  I have never tested or used these.
Diffstat (limited to 'nixos/modules/module-list.nix')
-rw-r--r--nixos/modules/module-list.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix
index 3f3123798f59..f51a30aec2e9 100644
--- a/nixos/modules/module-list.nix
+++ b/nixos/modules/module-list.nix
@@ -517,6 +517,7 @@
   ./services/networking/heyefi.nix
   ./services/networking/hostapd.nix
   ./services/networking/htpdate.nix
+  ./services/networking/hylafax/default.nix
   ./services/networking/i2pd.nix
   ./services/networking/i2p.nix
   ./services/networking/iodine.nix