migrate to nix flake

This commit is contained in:
nyanloutre 2021-10-11 10:43:57 +02:00
parent 999ee11693
commit 53cf463bba
7 changed files with 183 additions and 95 deletions

View file

@ -88,7 +88,6 @@ in
'';
sso = {
enable = true;
environmentFile = "/mnt/secrets/nginx-sso.env";
configuration = {
listen = {
addr = "127.0.0.1";
@ -325,4 +324,6 @@ in
wantedBy = [ "sockets.target" ];
listenStreams = [ "/run/site-musique.sock" ];
};
systemd.services.nginx-sso.serviceConfig.EnvironmentFile = "/mnt/secrets/nginx-sso.env";
}