change nvidia hybrid mode
This commit is contained in:
parent
6327a865b3
commit
076c892b4f
@ -6,6 +6,7 @@
|
||||
./hardware-configuration.nix
|
||||
../../modules/nixos/flatpak.nix
|
||||
../../modules/nixos/gdm.nix
|
||||
../../modules/nixos/monitoring.nix
|
||||
../../modules/nixos/nvidia.nix
|
||||
../../modules/nixos/pipewire.nix
|
||||
../../modules/nixos/podman.nix
|
||||
|
13
modules/nixos/monitoring.nix
Normal file
13
modules/nixos/monitoring.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.btop
|
||||
];
|
||||
programs.iotop.enable = true;
|
||||
}
|
@ -51,14 +51,14 @@
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
|
||||
## Reverse PRIME synchronization
|
||||
reverseSync.enable = true;
|
||||
# Enable if using an external GPU
|
||||
allowExternalGpu = false;
|
||||
# reverseSync.enable = true;
|
||||
# # Enable if using an external GPU
|
||||
# allowExternalGpu = false;
|
||||
|
||||
## Alternatively enable offloading
|
||||
# offload = {
|
||||
# enable = true;
|
||||
# enableOffloadCmd = true;
|
||||
# };
|
||||
offload = {
|
||||
enable = true;
|
||||
enableOffloadCmd = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user