diff options
author | Lassulus <github@lassul.us> | 2022-06-26 19:05:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-26 19:05:04 +0200 |
commit | ea532fe8331b815de65b52947b250e1c7f577aae (patch) | |
tree | 29def5c0db13af481dd0d1d68f0b846287407902 /nixos | |
parent | eb0ee6794691f561a42ffaae21cf7813e5a8ebf2 (diff) | |
parent | 57617daaff5ed1f519b1ae4e54d48364a2649972 (diff) |
Merge pull request #179168 from yayayayaka/revert-177536-hedgedoc-fix-statedirectory
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/web-apps/hedgedoc.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/modules/services/web-apps/hedgedoc.nix b/nixos/modules/services/web-apps/hedgedoc.nix index 0310c15a4d27e..22270609dbccb 100644 --- a/nixos/modules/services/web-apps/hedgedoc.nix +++ b/nixos/modules/services/web-apps/hedgedoc.nix @@ -1031,8 +1031,7 @@ in ''; serviceConfig = { WorkingDirectory = cfg.workDir; - StateDirectory = [ (builtins.replaceStrings [ "/var/lib/" ] [ "" ] cfg.workDir) ]; - ReadWritePaths = [ cfg.configuration.uploadsPath ]; + StateDirectory = [ cfg.workDir cfg.configuration.uploadsPath ]; ExecStart = "${cfg.package}/bin/hedgedoc"; EnvironmentFile = mkIf (cfg.environmentFile != null) [ cfg.environmentFile ]; Environment = [ |