nixos/doas: add noLog option
This commit is contained in:
parent
caad9aba5a
commit
19c0927d30
@ -12,6 +12,7 @@ let
|
|||||||
|
|
||||||
mkOpts = rule: concatStringsSep " " [
|
mkOpts = rule: concatStringsSep " " [
|
||||||
(optionalString rule.noPass "nopass")
|
(optionalString rule.noPass "nopass")
|
||||||
|
(optionalString rule.noLog "nolog")
|
||||||
(optionalString rule.persist "persist")
|
(optionalString rule.persist "persist")
|
||||||
(optionalString rule.keepEnv "keepenv")
|
(optionalString rule.keepEnv "keepenv")
|
||||||
"setenv { SSH_AUTH_SOCK ${concatStringsSep " " rule.setEnv} }"
|
"setenv { SSH_AUTH_SOCK ${concatStringsSep " " rule.setEnv} }"
|
||||||
@ -118,6 +119,16 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
noLog = mkOption {
|
||||||
|
type = with types; bool;
|
||||||
|
default = false;
|
||||||
|
description = ''
|
||||||
|
If <code>true</code>, successful executions will not be logged
|
||||||
|
to
|
||||||
|
<citerefentry><refentrytitle>syslogd</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
persist = mkOption {
|
persist = mkOption {
|
||||||
type = with types; bool;
|
type = with types; bool;
|
||||||
default = false;
|
default = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user