diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-01-31 15:18:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-31 15:18:08 +0100 |
commit | 2c748ee8a4845a76d52ec03525907e635079920f (patch) | |
tree | 7af5188e496c4e4ace650cf2085978dc30a5c6c7 | |
parent | 197cfaba571fd8f6a1e2df22b725f7bf5397fed2 (diff) | |
parent | 4e353723d6d014b81e519390e8087beaaa34f66a (diff) |
Merge pull request #111439 from helsinki-systems/unit
nixos/unit: add stateDir and logDir types
-rw-r--r-- | nixos/modules/services/web-servers/unit/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/web-servers/unit/default.nix b/nixos/modules/services/web-servers/unit/default.nix index 894271d1e55e..2a264bf2e9a6 100644 --- a/nixos/modules/services/web-servers/unit/default.nix +++ b/nixos/modules/services/web-servers/unit/default.nix @@ -28,10 +28,12 @@ in { description = "Group account under which unit runs."; }; stateDir = mkOption { + type = types.path; default = "/var/spool/unit"; description = "Unit data directory."; }; logDir = mkOption { + type = types.path; default = "/var/log/unit"; description = "Unit log directory."; }; |