Compare commits

..

4 commits

Author SHA1 Message Date
33332afe63
test ssh sig
Some checks failed
CI / formatting (push) Failing after 9m22s
CI / nix_flake_check (push) Failing after 9m21s
2025-12-08 17:47:53 +01:00
3c84127266
edit home.nix @2025-12-07 14:33:08 2025-12-07 14:33:08 +01:00
75343af2a2
edit home.nix @2025-12-07 13:21:33 2025-12-07 13:21:33 +01:00
ba30eff283
edit home.nix @2025-12-07 13:19:16 2025-12-07 13:19:16 +01:00
2 changed files with 13 additions and 2 deletions

View file

@ -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
};
}

View file

@ -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 = {