many changes

This commit is contained in:
2024-07-08 17:36:11 +02:00
parent 213101f8cd
commit 4a183af66c
9 changed files with 85 additions and 73 deletions

View File

@@ -1,16 +1,22 @@
{ config, pkgs, ... }:
let
unstable = import (fetchTarball https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz) {
config = { allowUnfree = true; };
};
in
{
environment.systemPackages = with pkgs; [
python312
];
services.netdata.configDir."python.d.conf" = pkgs.writeText "python.d.conf" ''
postfix: yes
'';
sops.secrets.netdata-claim-token = { };
services.netdata = {
enable = true;
package = unstable.netdata;
# claimTokenFile = config.sops.secrets.netdata-claim-token.path;
python.enable = true;
config = {