From da6a7d5c69aa3e8b70755e88be0f44b642422114 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 7 Dec 2023 20:32:45 +0100 Subject: bump --- modules/uucp.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules/uucp.nix') diff --git a/modules/uucp.nix b/modules/uucp.nix index 95b675a6..abca2acb 100644 --- a/modules/uucp.nix +++ b/modules/uucp.nix @@ -48,12 +48,14 @@ let commands = mkOption { type = types.listOf types.str; default = cfg.defaultCommands; + defaultText = literalExpression "config.services.uucp.defaultCommands"; description = "Commands to allow for this remote"; }; protocols = mkOption { type = types.separatedString ""; default = cfg.defaultProtocols; + defaultText = literalExpression "config.services.uucp.defaultProtocols"; description = "UUCP protocols to use for this remote"; }; @@ -119,6 +121,7 @@ in { commandPath = mkOption { type = types.listOf types.path; default = [ "${pkgs.rmail}/bin" ]; + defaultText = literalExpression ''[ "''${pkgs.rmail}/bin" ]''; description = '' Command search path for all systems ''; @@ -151,6 +154,7 @@ in { sshKeyDir = mkOption { type = types.path; default = "${cfg.homeDir}/.ssh/"; + defaultText = literalExpression ''''${config.services.uucp.homeDir}/.ssh/''; description = "Directory to store ssh keypairs"; }; @@ -202,6 +206,7 @@ in { nmDispatch = mkOption { type = types.bool; default = config.networking.networkmanager.enable; + defaultText = literalExpression "config.networking.networkmanager.enable"; description = '' Install a network-manager dispatcher script to automatically call all remotes when networking is available -- cgit v1.2.3