From ea94466691e05e97bca3efb0fc1e19ffc8535083 Mon Sep 17 00:00:00 2001 From: blahai Date: Sun, 1 Dec 2024 13:25:15 +0200 Subject: [PATCH] Theia: set kernel to 6.12 (predicted next lts release) and add new netdata cloudui --- hosts/theia/configuration.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/hosts/theia/configuration.nix b/hosts/theia/configuration.nix index fa62199..644869e 100644 --- a/hosts/theia/configuration.nix +++ b/hosts/theia/configuration.nix @@ -15,7 +15,7 @@ "virtio_blk" ]; initrd.kernelModules = [ ]; - kernelPackages = pkgs.linuxPackages_latest; + kernelPackages = pkgs.linuxPackages_6_12; kernelModules = [ "kvm-amd" ]; extraModulePackages = [ ]; loader.grub = { @@ -24,6 +24,10 @@ }; }; + nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ + "netdata" + ]; + nix = { package = pkgs.lix; settings = { @@ -166,6 +170,9 @@ "access log" = "none"; "error log" = "syslog"; }; + package = pkgs.netdata.override { + withCloudUi = true; + }; }; forgejo = {