enable gpu support in btop

This commit is contained in:
Noa Aarts 2024-11-11 11:49:35 +01:00
parent fac66830e8
commit 8eae5fd8af
Signed by: noa
GPG key ID: 1850932741EFF672
2 changed files with 9 additions and 1 deletions

View file

@ -143,6 +143,13 @@
scale = "1";
}
];
extraConfig = {
programs.btop.package = pkgs.btop.overrideAttrs (oldAttrs: rec {
cmakeFlags = (oldAttrs.cmakeFlags or [ ]) ++ [
"-DBTOP_GPU=ON"
];
});
};
};
"root" = import ./root.nix;
};