diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2022-05-28 22:06:22 +0200 |
---|---|---|
committer | Yt <raphael@megzari.com> | 2022-05-29 03:49:17 -0400 |
commit | 64979024070de7a9eab3bd66f54a4680163efa3a (patch) | |
tree | 1c39be75c455186be912c731473886c93bc9267d | |
parent | 94733b13d89372c76e51f9d1c53279d706d6b025 (diff) | |
download | nixpkgs-64979024070de7a9eab3bd66f54a4680163efa3a.tar nixpkgs-64979024070de7a9eab3bd66f54a4680163efa3a.tar.gz nixpkgs-64979024070de7a9eab3bd66f54a4680163efa3a.tar.bz2 nixpkgs-64979024070de7a9eab3bd66f54a4680163efa3a.tar.lz nixpkgs-64979024070de7a9eab3bd66f54a4680163efa3a.tar.xz nixpkgs-64979024070de7a9eab3bd66f54a4680163efa3a.tar.zst nixpkgs-64979024070de7a9eab3bd66f54a4680163efa3a.zip |
nixos/mimir: set workingdirectory
Mimir writes files relatative to its working directory. With this option less files have to be configured.
-rw-r--r-- | nixos/modules/services/monitoring/mimir.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/monitoring/mimir.nix b/nixos/modules/services/monitoring/mimir.nix index df853f037ee..a651b76c387 100644 --- a/nixos/modules/services/monitoring/mimir.nix +++ b/nixos/modules/services/monitoring/mimir.nix @@ -56,6 +56,7 @@ in { ProtectSystem = "full"; DevicePolicy = "closed"; NoNewPrivileges = true; + WorkingDirectory = "/var/lib/mimir"; StateDirectory = "mimir"; }; }; |