wip
This commit is contained in:
parent
b0a3b7577b
commit
d82e5022c5
2 changed files with 10 additions and 2 deletions
|
|
@ -25,10 +25,18 @@ in
|
|||
];
|
||||
|
||||
sops.secrets.graylog = {
|
||||
mode = "0400";
|
||||
owner = "graylog";
|
||||
group = "graylog";
|
||||
};
|
||||
systemd.services.graylog.serviceConfig.EnvironmentFile = config.sops.secrets.graylog.path;
|
||||
|
||||
systemd.services.graylog = {
|
||||
after = [ "sops-nix.service" ];
|
||||
requires = [ "sops-nix.service" ];
|
||||
serviceConfig = {
|
||||
EnvironmentFile = config.sops.secrets.graylog.path;
|
||||
};
|
||||
};
|
||||
services = {
|
||||
graylog = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue