Merge pull request #111439 from helsinki-systems/unit

nixos/unit: add stateDir and logDir types
This commit is contained in:
Sandro 2021-01-31 15:18:08 +01:00 committed by GitHub
commit 2c748ee8a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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