mirror of
https://github.com/Superredstone/nixos.git
synced 2026-03-07 20:28:08 +01:00
Added nvidia.nix
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
{ config, pkgs, stylix, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
./modules/nvidia.nix
|
||||
./modules/services.nix
|
||||
./modules/styling.nix
|
||||
];
|
||||
@@ -35,21 +36,6 @@
|
||||
hardware.bluetooth.enable = true;
|
||||
hardware.bluetooth.powerOnBoot = true;
|
||||
|
||||
hardware.nvidia = {
|
||||
modesetting.enable = true;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
||||
open = true;
|
||||
prime = {
|
||||
offload = {
|
||||
enable = true;
|
||||
enableOffloadCmd = true;
|
||||
};
|
||||
|
||||
intelBusId = "PCI:0:2:0";
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
};
|
||||
};
|
||||
|
||||
time.timeZone = "Europe/Rome";
|
||||
|
||||
# Select internationalisation properties.
|
||||
@@ -102,6 +88,7 @@
|
||||
tree
|
||||
unzip
|
||||
wget
|
||||
wl-clipboard
|
||||
zip
|
||||
zoxide
|
||||
zulu
|
||||
|
||||
Reference in New Issue
Block a user