mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
14 lines
286 B
Nix
14 lines
286 B
Nix
|
|
{
|
||
|
|
config,
|
||
|
|
pkgsUnstable,
|
||
|
|
...
|
||
|
|
}: {
|
||
|
|
age.secrets.netdata-claim-token.rekeyFile = ../../secrets/netdata-claim-token.age;
|
||
|
|
|
||
|
|
services.netdata = {
|
||
|
|
enable = true;
|
||
|
|
package = pkgsUnstable.netdataCloud;
|
||
|
|
claimTokenFile = "${config.age.secrets.netdata-claim-token.path}";
|
||
|
|
};
|
||
|
|
}
|