Compare commits
4 commits
5003f59185
...
33332afe63
| Author | SHA1 | Date | |
|---|---|---|---|
| 33332afe63 | |||
| 3c84127266 | |||
| 75343af2a2 | |||
| ba30eff283 |
2 changed files with 13 additions and 2 deletions
|
|
@ -87,9 +87,9 @@
|
|||
windowManager.i3.enable = true;
|
||||
|
||||
|
||||
videoDrivers = [ "nvidia" ];
|
||||
videoDrivers = [ "amdgpu" "nvidia" ];
|
||||
deviceSection = ''
|
||||
BusID "PCI:1:0:0" # lspci | grep VGA → find your busid
|
||||
BusID "PCI:1:0:0"
|
||||
Driver "nvidia"
|
||||
'';
|
||||
};
|
||||
|
|
@ -245,9 +245,17 @@
|
|||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
# SSH config:
|
||||
};
|
||||
hardware.nvidia.forceFullCompositionPipeline = true;
|
||||
systemd.services = {
|
||||
systemd-suspend.environment.SYSTEMD_SLEEP_FREEZE_USER_SESSIONS = "false";
|
||||
systemd-hibernate.environment.SYSTEMD_SLEEP_FREEZE_USER_SESSIONS = "false"; # if u care
|
||||
};
|
||||
hardware.nvidia.prime = {
|
||||
offload.enable = true;
|
||||
amdgpuBusId = "PCI:7:0:0";
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
#amdgpuBusId = "PCI:54:0:0"; # If you have an AMD iGPU
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@
|
|||
|
||||
|
||||
home.packages = with pkgs; [
|
||||
ssh-to-age
|
||||
pinentry-curses
|
||||
cryptsetup
|
||||
grc
|
||||
|
|
@ -87,6 +88,8 @@
|
|||
rofi
|
||||
pipewire
|
||||
lshw
|
||||
age
|
||||
notepad-next
|
||||
|
||||
];
|
||||
programs.direnv = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue