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