many changes
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user