From 8032fa45ce4cf74776ad526888de04cc5866105f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 27 Apr 2016 12:47:34 +0200 Subject: uucp hostname --- custom/uucp.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'custom/uucp.nix') diff --git a/custom/uucp.nix b/custom/uucp.nix index a47e0157..6fabe882 100644 --- a/custom/uucp.nix +++ b/custom/uucp.nix @@ -26,6 +26,12 @@ in { ''; }; + nodeName = mkOption { + type = types.str; + default = "nixos"; + description = "uucp node name"; + }; + sshUser = mkOption { type = types.attrs; default = {}; @@ -91,6 +97,8 @@ in { config = mkIf config.services.uucp.enable { environment.etc."uucp/config" = { text = '' + hostname ${config.services.uucp.nodeName} + spool ${config.services.uucp.spoolDir} lockdir ${config.services.uucp.lockDir} pubdir ${config.services.uucp.pubDir} -- cgit v1.2.3