From d254085e2918d4201e6f5d8c760af9d1b7893d3c Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Tue, 20 Aug 2024 00:17:10 +0200 Subject: [PATCH] Update --- flake.nix | 2 +- hosts/laptop/configuration.nix | 2 +- hosts/modules/prime.nix | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index c985e8a..a4b5093 100644 --- a/flake.nix +++ b/flake.nix @@ -35,7 +35,7 @@ system = "x86_64-linux"; modules = [ { _module.args = { inherit inputs; }; } - inputs.nixos-hardware.nixosModules.omen-16-n0280nd # CHANGEME + inputs.nixos-hardware.nixosModules.omen-16-n0005ne # CHANGEME inputs.home-manager.nixosModules.home-manager ./hosts/laptop/configuration.nix # CHANGEME ]; diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index 03c9140..e39a4c0 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -2,7 +2,7 @@ imports = [ ../modules/fonts.nix ../modules/nvidia.nix - # ../modules/prime.nix + ../modules/prime.nix ../modules/zsh.nix ../modules/tuigreet.nix ../modules/auto-upgrade.nix diff --git a/hosts/modules/prime.nix b/hosts/modules/prime.nix index 350adcc..f6bd772 100644 --- a/hosts/modules/prime.nix +++ b/hosts/modules/prime.nix @@ -1,11 +1,11 @@ { hardware.nvidia.prime = { - offload = { - enable = true; - enableOffloadCmd = true; - }; + # offload = { + # enable = true; + # enableOffloadCmd = true; + # }; - # sync.enable = true; + sync.enable = true; amdgpuBusId = "PCI:5:0:0"; nvidiaBusId = "PCI:1:0:0";