summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/setuid.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-04-13 13:44:39 +0200
committertv <tv@krebsco.de>2019-04-13 13:44:49 +0200
commit39fba33bed71c7553da47e56c5e34a0389950c71 (patch)
treebb175598d158b943c78d07cd1f3dd8e1547f412e /krebs/3modules/setuid.nix
parent70500f88458f7801be2382c75123ac6f914bd669 (diff)
krebs.setuid: propagate env by default
Diffstat (limited to 'krebs/3modules/setuid.nix')
-rw-r--r--krebs/3modules/setuid.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/krebs/3modules/setuid.nix b/krebs/3modules/setuid.nix
index 3ba598a45..97cf21cdd 100644
--- a/krebs/3modules/setuid.nix
+++ b/krebs/3modules/setuid.nix
@@ -21,8 +21,8 @@ let
default = config._module.args.name;
};
envp = mkOption {
- type = types.attrsOf types.str;
- default = {};
+ type = types.nullOr (types.attrsOf types.str);
+ default = null;
};
filename = mkOption {
type = mkOptionType {