diff options
author | Fritz Otlinghaus <fritz@otlinghaus.it> | 2021-01-31 12:18:43 +0100 |
---|---|---|
committer | Fritz Otlinghaus <fritz@otlinghaus.it> | 2021-01-31 13:41:53 +0100 |
commit | 4e353723d6d014b81e519390e8087beaaa34f66a (patch) | |
tree | 610fa15e482d5185f7144dd59609296e8f6f7e64 | |
parent | 4015c5ca9c6ec7d4aa765c97b4413b478daa278b (diff) | |
download | nixpkgs-4e353723d6d014b81e519390e8087beaaa34f66a.tar nixpkgs-4e353723d6d014b81e519390e8087beaaa34f66a.tar.gz nixpkgs-4e353723d6d014b81e519390e8087beaaa34f66a.tar.bz2 nixpkgs-4e353723d6d014b81e519390e8087beaaa34f66a.tar.lz nixpkgs-4e353723d6d014b81e519390e8087beaaa34f66a.tar.xz nixpkgs-4e353723d6d014b81e519390e8087beaaa34f66a.tar.zst nixpkgs-4e353723d6d014b81e519390e8087beaaa34f66a.zip |
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 894271d1e55..2a264bf2e9a 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."; }; |