fix: update NixOS channel references to version 25.05 and adjust netdata configuration

This commit is contained in:
2025-05-30 18:32:47 +02:00
parent d161d5f421
commit fa42667c2a
7 changed files with 11 additions and 9 deletions

View File

@@ -1,10 +1,14 @@
{ config, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
unstable = import (fetchTarball https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz) {
config = { allowUnfree = true; };
};
in
{
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"netdata"
];
services.netdata.configDir."python.d.conf" = pkgs.writeText "python.d.conf" ''
postfix: yes
'';
@@ -14,7 +18,7 @@ in
python.enable = true;
package = pkgs.netdata.override {
withCloud = true;
withCloudUi = true;
};
config = {