nixos/unit: add stateDir and logDir types
This commit is contained in:
parent
4015c5ca9c
commit
4e353723d6
|
@ -28,10 +28,12 @@ in {
|
||||||
description = "Group account under which unit runs.";
|
description = "Group account under which unit runs.";
|
||||||
};
|
};
|
||||||
stateDir = mkOption {
|
stateDir = mkOption {
|
||||||
|
type = types.path;
|
||||||
default = "/var/spool/unit";
|
default = "/var/spool/unit";
|
||||||
description = "Unit data directory.";
|
description = "Unit data directory.";
|
||||||
};
|
};
|
||||||
logDir = mkOption {
|
logDir = mkOption {
|
||||||
|
type = types.path;
|
||||||
default = "/var/log/unit";
|
default = "/var/log/unit";
|
||||||
description = "Unit log directory.";
|
description = "Unit log directory.";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue