change nvidia prime settings, change desktop config screens arangement
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m13s

This commit is contained in:
2025-11-03 16:31:29 +01:00
parent c631965709
commit b0fe851dec
5 changed files with 29 additions and 22 deletions

View File

@ -4,16 +4,18 @@
mods.x11.enable = true;
wayland.windowManager.hyprland.settings = {
monitor = [
"DP-1, 1280x1024@75.03Hz, 0x0, auto"
"HDMI-A-1, 1920x1080@60, 1280x0, auto"
"HDMI-A-3, 1920x1080@74.97Hz, 3200x0, auto"
"DP-3, 1920x1080@60.00Hz, 5120x0, auto"
"DP-1, 1280x1024@75.03Hz, -3200x0, auto"
"HDMI-A-1, 1920x1080@60, -1920x0, auto"
"HDMI-A-3, 1920x1080@74.97Hz, 0x0, auto"
"DP-3, 1920x1080@60.00Hz, 1920x0, auto"
"DP-4, 1280x1024@75.03Hz, 3840x0, auto"
];
workspace = [
"1, monitor:HDMI-A-1"
"2, monitor:HDMI-A-3, default:true"
"3, monitor:DP-1"
"4, monitor:DP-3"
"4, monitor:DP-1"
"3, monitor:HDMI-A-1"
"1, monitor:HDMI-A-3, default:true"
"2, monitor:DP-3"
"5, monitor:DP-4"
];
env = [
"AQ_DRM_DEVICES,/dev/dri/card1:/dev/dri/card0"

View File

@ -6,7 +6,7 @@
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2025/09/06 00:57:04 by tomoron #+# #+# #
# Updated: 2025/10/26 00:59:12 by tomoron ### ########.fr #
# Updated: 2025/10/29 21:15:42 by tomoron ### ########.fr #
# #
# **************************************************************************** #
@ -27,16 +27,20 @@
boot.kernelModules = [ "kvm-intel" "nvidia" ];
mods.displayManager.enable = true;
hardware.nvidia = {
package = config.boot.kernelPackages.nvidiaPackages.beta;
open = true;
mods.nvidia.enable = true;
mods.gayming.enable = true;
prime.nvidiaBusId = "PCI:1:0:0";
prime.intelBusId = "PCI:0:2:0";
prime.sync.enable = true;
programs.noisetorch.enable = true;
modesetting.enable = true;
};
# hardware.nvidia = {
# open = true;
#
# prime.nvidiaBusId = "PCI:1:0:0";
# prime.intelBusId = "PCI:0:2:0";
# prime.sync.enable = true;
#
# modesetting.enable = true;
# };
services.openssh.enable = true;
}

View File

@ -6,7 +6,7 @@
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2025/09/06 00:56:57 by tomoron #+# #+# #
# Updated: 2025/10/11 00:23:01 by tomoron ### ########.fr #
# Updated: 2025/10/29 21:15:44 by tomoron ### ########.fr #
# #
# **************************************************************************** #
@ -81,7 +81,6 @@
mods.touchpad.enable = true;
programs.gamescope.enable = true;
# programs.gamescope.capSysNice = true;
mods.powerSave = {
@ -99,6 +98,7 @@
};
services.asusd = {
enable = true;
enableUserService = true;

View File

@ -6,7 +6,7 @@
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2025/09/05 23:47:09 by tomoron #+# #+# #
# Updated: 2025/09/05 23:54:57 by tomoron ### ########.fr #
# Updated: 2025/10/27 00:50:29 by tomoron ### ########.fr #
# #
# **************************************************************************** #
@ -22,5 +22,6 @@
config = lib.mkIf config.mods.gayming.enable {
programs.steam.enable = true;
programs.steam.protontricks.enable = true;
programs.gamescope.enable = true;
};
}

View File

@ -6,7 +6,7 @@
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2025/09/05 23:47:19 by tomoron #+# #+# #
# Updated: 2025/09/06 01:12:34 by tomoron ### ########.fr #
# Updated: 2025/10/26 21:12:18 by tomoron ### ########.fr #
# #
# **************************************************************************** #
@ -28,7 +28,7 @@
open = lib.mkOption {
type = lib.types.bool;
default = true;
description = "use beta version of the drivers";
description = "use open version of the drivers (on newer gpu)";
};
containerToolkit = lib.mkOption {
type = lib.types.bool;