mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Programs/Nvtop] refactor to intelligently enable the required backends
This commit is contained in:
parent
5fa9147e02
commit
d9ea216ea8
5 changed files with 23 additions and 9 deletions
|
|
@ -27,7 +27,9 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
|
||||
aviallon.programs.nvtop.enable = true;
|
||||
aviallon.programs.nvtop = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
aviallon.hardware.nvidia.useProprietary = mkForce ( cfg.variant == "proprietary" );
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue