modularized sway, enabled openGL

This commit is contained in:
Bryan Ramos 2024-05-12 23:12:52 -04:00
parent 1de4bdba14
commit 5eb597b956
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
2 changed files with 3 additions and 14 deletions

View file

@ -30,21 +30,13 @@
}; };
# GPU # GPU
services.xserver.videoDrivers = lib.mkDefault ["nvidia"];
hardware.opengl = { hardware.opengl = {
enable = true; enable = true;
driSupport = true; driSupport = true;
driSupport32Bit = true; driSupport32Bit = false;
}; };
hardware.nvidia = { hardware.nvidia.open = true;
powerManagement.enable = false;
powerManagement.finegrained = false;
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.production;
};
# Virtualisation # Virtualisation
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [

View file

@ -52,10 +52,7 @@
git git
]; ];
programs.sway = { security.polkit.enable = true;
enable = true;
package = null;
};
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
terminus_font terminus_font