fix(sourcehut): make python's requests use global ca-certificates store
This commit is contained in:
parent
406d1cc6ca
commit
b895943359
1 changed files with 5 additions and 0 deletions
|
|
@ -144,6 +144,11 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
# set global environment variables
|
# set global environment variables
|
||||||
|
environment.variables = {
|
||||||
|
# make python's requests package use the global ca-certificates store, which will contain my own CA cert
|
||||||
|
REQUESTS_CA_BUNDLE = "/etc/ssl/certs/ca-certificates.crt";
|
||||||
|
};
|
||||||
|
# set user environment variables
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
# I don't know what this does, but it is needed for wluma to work correctly.
|
# I don't know what this does, but it is needed for wluma to work correctly.
|
||||||
# It will also slightly increase cpu usage (on wayland compositors), but shouldn't be too bad.
|
# It will also slightly increase cpu usage (on wayland compositors), but shouldn't be too bad.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue