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
|
# 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; [
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue