X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=nixops%2Fmodules%2Fwebsites%2Ftools%2Fmastodon%2Fdefault.nix;h=a3f2364ee0cdfcbb2e6add96ff889ad09a6f2cff;hb=32c84ff89c2b8931f58cea63961a178a9b1d0efe;hp=048d845c8906b200ae33c1e7d44b6c161bd2509f;hpb=742697c95318d3625298437995e948ee00a00ba5;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/nixops/modules/websites/tools/mastodon/default.nix b/nixops/modules/websites/tools/mastodon/default.nix index 048d845..a3f2364 100644 --- a/nixops/modules/websites/tools/mastodon/default.nix +++ b/nixops/modules/websites/tools/mastodon/default.nix @@ -13,7 +13,7 @@ in { }; config = lib.mkIf cfg.enable { - deployment.keys = mastodon.keys; + mySecrets.keys = mastodon.keys; ids.uids.mastodon = myconfig.env.tools.mastodon.user.uid; ids.gids.mastodon = myconfig.env.tools.mastodon.user.gid; @@ -55,7 +55,7 @@ in { serviceConfig = { User = "mastodon"; - EnvironmentFile = "/run/keys/webapps/tools-mastodon"; + EnvironmentFile = "/var/secrets/webapps/tools-mastodon"; PrivateTmp = true; Restart = "always"; TimeoutSec = 15; @@ -88,7 +88,7 @@ in { serviceConfig = { User = "mastodon"; - EnvironmentFile = "/run/keys/webapps/tools-mastodon"; + EnvironmentFile = "/var/secrets/webapps/tools-mastodon"; PrivateTmp = true; Restart = "always"; TimeoutSec = 60; @@ -117,7 +117,7 @@ in { serviceConfig = { User = "mastodon"; - EnvironmentFile = "/run/keys/webapps/tools-mastodon"; + EnvironmentFile = "/var/secrets/webapps/tools-mastodon"; PrivateTmp = true; Restart = "always"; TimeoutSec = 15;