mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
modularized sway, enabled openGL
This commit is contained in:
parent
1de4bdba14
commit
5eb597b956
2 changed files with 3 additions and 14 deletions
|
|
@ -30,21 +30,13 @@
|
|||
};
|
||||
|
||||
# GPU
|
||||
services.xserver.videoDrivers = lib.mkDefault ["nvidia"];
|
||||
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
driSupport32Bit = true;
|
||||
driSupport32Bit = false;
|
||||
};
|
||||
|
||||
hardware.nvidia = {
|
||||
powerManagement.enable = false;
|
||||
powerManagement.finegrained = false;
|
||||
nvidiaSettings = true;
|
||||
|
||||
package = config.boot.kernelPackages.nvidiaPackages.production;
|
||||
};
|
||||
hardware.nvidia.open = true;
|
||||
|
||||
# Virtualisation
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
|
|||
|
|
@ -52,10 +52,7 @@
|
|||
git
|
||||
];
|
||||
|
||||
programs.sway = {
|
||||
enable = true;
|
||||
package = null;
|
||||
};
|
||||
security.polkit.enable = true;
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
terminus_font
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue