enable gpu support in btop
This commit is contained in:
parent
fac66830e8
commit
8eae5fd8af
2 changed files with 9 additions and 1 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue