nixos/unit: add stateDir and logDir types

This commit is contained in:
Fritz Otlinghaus
2021-01-31 12:18:43 +01:00
parent 4015c5ca9c
commit 4e353723d6

View File

@@ -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.";
};