mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
feat: add server configuration
This commit is contained in:
parent
0d47ab58f5
commit
9665106633
42 changed files with 4282 additions and 99 deletions
13
hosts/homelab/netdata.nix
Normal file
13
hosts/homelab/netdata.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
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}";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue