mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +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
|
|
@ -17,7 +17,10 @@ in
|
|||
];
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
aviallon.programs.nvtop.enable = true;
|
||||
aviallon.programs.nvtop = {
|
||||
enable = true;
|
||||
backend = [ "intel" ];
|
||||
};
|
||||
|
||||
boot.initrd.kernelModules = [ "i915" ];
|
||||
hardware.opengl = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue