Try setting ReadWritePaths...

This commit is contained in:
niten 2023-12-10 14:46:11 -08:00
parent 3b89330f81
commit e8ad5ae2ca
2 changed files with 8 additions and 1 deletions

View File

@ -145,7 +145,7 @@ in {
};
datasources = mkOption {
type = attrsOf (submodule datasourceOpts);
type = listOf (submodule datasourceOpts);
description = "A list of datasources supplied to Grafana.";
default = { };
};

View File

@ -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 = {