modules/users: remove no-longer-need environment option

This commit is contained in:
2024-03-18 02:24:45 +00:00
parent 291e704477
commit e1001f57c5
2 changed files with 1 additions and 9 deletions

View File

@@ -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" ];
}; };

View File

@@ -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
{ {