modules/users: remove no-longer-need environment
option
This commit is contained in:
@@ -42,14 +42,6 @@ let
|
|||||||
default = null;
|
default = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment = mkOption {
|
|
||||||
type = types.attrsOf types.str;
|
|
||||||
default = {};
|
|
||||||
description = ''
|
|
||||||
environment variables to set within the service.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
serviceConfig.Type = mkOption {
|
serviceConfig.Type = mkOption {
|
||||||
type = types.enum [ "dbus" "oneshot" "simple" ];
|
type = types.enum [ "dbus" "oneshot" "simple" ];
|
||||||
};
|
};
|
||||||
|
@@ -30,7 +30,7 @@ let
|
|||||||
# nor do they intend to ever support that:
|
# nor do they intend to ever support that:
|
||||||
# - <https://github.com/systemd/systemd/issues/1082>
|
# - <https://github.com/systemd/systemd/issues/1082>
|
||||||
PATH = null;
|
PATH = null;
|
||||||
} // (value.environment or {});
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user