Update configuration.nix
This commit is contained in:
@@ -8,14 +8,9 @@
|
|||||||
networking.hostName = "nixos";
|
networking.hostName = "nixos";
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
# Note: The MT7902 WiFi driver is notorious. Your existing fix_my_wifi.sh script
|
|
||||||
# and blacklisting strategy can still work if you run it manually, but eventually,
|
|
||||||
# building it as an out-of-tree kernel module in Nix is the "proper" way.
|
|
||||||
|
|
||||||
time.timeZone = "Asia/Amman";
|
time.timeZone = "Asia/Amman";
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
|
|
||||||
# Hardware: Intel Microcode & Nvidia PRIME
|
|
||||||
hardware.cpu.intel.updateMicrocode = true;
|
hardware.cpu.intel.updateMicrocode = true;
|
||||||
hardware.opengl = {
|
hardware.opengl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -26,7 +21,7 @@
|
|||||||
hardware.nvidia = {
|
hardware.nvidia = {
|
||||||
modesetting.enable = true;
|
modesetting.enable = true;
|
||||||
powerManagement.enable = false;
|
powerManagement.enable = false;
|
||||||
open = true; # You were using nvidia-open-dkms
|
open = true;
|
||||||
nvidiaSettings = true;
|
nvidiaSettings = true;
|
||||||
prime = {
|
prime = {
|
||||||
intelBusId = "PCI:0:2:0"; # Verify with `lspci | grep VGA`
|
intelBusId = "PCI:0:2:0"; # Verify with `lspci | grep VGA`
|
||||||
@@ -35,7 +30,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# System Services
|
# System Services
|
||||||
services.printing.enable = true; # cups
|
services.printing.enable = true;
|
||||||
services.blueman.enable = true;
|
services.blueman.enable = true;
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
services.coolercontrol.enable = true;
|
services.coolercontrol.enable = true;
|
||||||
@@ -48,7 +43,6 @@
|
|||||||
wayland.enable = true;
|
wayland.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable Hyprland at the system level to pull in XDG portals automatically
|
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland.enable = true;
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user