New machine

This commit is contained in:
Henry Hiles 2023-12-04 18:07:03 -05:00
parent e5e35676fc
commit 2fc4f2dd4a
9 changed files with 320 additions and 54 deletions

View file

@ -14,29 +14,10 @@
kernelParams = ["sysrq_always_enabled=1"];
};
hardware = {
opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
};
nvidia = {
prime = {
offload = {
enable = true;
enableOffloadCmd = true;
};
intelBusId = "PCI:00:02:0";
nvidiaBusId = "PCI:01:00:0";
};
open = false;
nvidiaSettings = false;
modesetting.enable = true;
nvidiaPersistenced = true;
dynamicBoost.enable = true;
};
hardware.opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
};
networking = {
@ -64,7 +45,6 @@
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
layout = "us";
videoDrivers = ["nvidia"];
};
pipewire = {
@ -97,7 +77,6 @@
VISUAL = "micro";
fish_greeting = "";
NIXOS_OZONE_WL = "1";
GAMEMODERUNEXEC = "nvidia-offload";
};
systemPackages = with pkgs; ([
@ -117,8 +96,8 @@
pciutils
alejandra
grapejuice
impression
libreoffice
mediawriter
virt-manager
wl-clipboard
protontricks