Try setting ReadWritePaths...
This commit is contained in:
parent
3b89330f81
commit
e8ad5ae2ca
|
@ -145,7 +145,7 @@ in {
|
|||
};
|
||||
|
||||
datasources = mkOption {
|
||||
type = attrsOf (submodule datasourceOpts);
|
||||
type = listOf (submodule datasourceOpts);
|
||||
description = "A list of datasources supplied to Grafana.";
|
||||
default = { };
|
||||
};
|
||||
|
|
|
@ -126,6 +126,13 @@ in {
|
|||
hostname
|
||||
]) other-hosts;
|
||||
|
||||
systemd = {
|
||||
tmpfiles.rules = [ "d ${cfg.state-directory} 0700 root root - -" ];
|
||||
|
||||
services.kea-dhcp4-server.serviceConfig.ReadWritePaths =
|
||||
[ cfg.state-directory ];
|
||||
};
|
||||
|
||||
services.kea.dhcp4 = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
Loading…
Reference in New Issue