| 7 Mar 2025 |
K900 | Or maybe some kernel parameters? | 20:27:56 |
Andrew | For NixOS I use refind that calls the default systemd-boot? | 20:29:29 |
Andrew | so no? | 20:29:41 |
K900 | That's not the kernel | 20:29:46 |
K900 | Let me rephrase | 20:29:48 |
K900 | What are the values of all the options you have that start with boot? | 20:29:58 |
Andrew | There is also this:
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
| 20:30:35 |
K900 | That is fine | 20:30:49 |
Andrew | the default ones | 20:30:56 |
Andrew | idk | 20:30:58 |
K900 | Just look through your config | 20:31:10 |
K900 | For anything that starts with boot | 20:31:14 |
K900 | And post it here please | 20:31:16 |
Andrew | # Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Clean /tmp on boot.
boot.tmp.cleanOnBoot = true;
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "usbhid" "uas" "sd_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-amd"];
boot.extraModulePackages = [];
| 20:32:02 |
K900 | And what does uname -a output? | 20:32:22 |
Andrew | Linux nixos 6.12.11 #1-NixOS SMP PREEMPT_DYNAMIC Thu Jan 23 16:23:05 UTC 2025 x86_64 GNU/Linux | 20:32:36 |
K900 | OK, try boot.kernelPackages = pkgs.linuxPackages_latest | 20:32:52 |
K900 | If that doesn't help, reboot, then run perf kmem record in the background | 20:33:04 |
K900 | And look at the output later when memory is "leaked" | 20:33:11 |
K900 | Or post it here | 20:33:15 |
Andrew | damn, we already on 6.12 | 20:33:18 |
Andrew | 8 more and we are 7.0, baby | 20:33:19 |
Andrew | if it doesn't help without rebooting? | 20:35:14 |
Andrew | or in general | 20:35:19 |
Andrew | also, why can't I find this package on https://search.nixos.org/packages, but nixd does autocomplete it? | 20:35:53 |
K900 | What package? | 20:38:09 |
Andrew | also wonder why on unstable the latest isn't the default one? is it not stable enough for unstable nixpkgs? | 20:38:17 |
K900 | If updating the kernel helps | 20:38:22 |
Andrew | * also wonder why on unstable the latest isn't the default one? is it not stable enough for unstable nixpkgs/NixOS? | 20:38:24 |
K900 | Then you're fine | 20:38:26 |