fix(sourcehut): actually environment.variables do not affect systemd services, trying another way
This commit is contained in:
parent
b895943359
commit
dabd4298a6
2 changed files with 7 additions and 5 deletions
|
|
@ -3,6 +3,13 @@ let
|
|||
sourcehut-fqdn = "sourcehut.nixos.local";
|
||||
in
|
||||
{
|
||||
systemd.services.gitsrht = {
|
||||
environment = {
|
||||
# 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";
|
||||
};
|
||||
};
|
||||
|
||||
# enable selfhosted sourcehut instance
|
||||
services.sourcehut = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue