new wm, hyprland gone
This commit is contained in:
parent
003f37bfbd
commit
cb4b22b4e5
41 changed files with 1145 additions and 1364 deletions
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, lib, ... }:
|
||||
{
|
||||
# support power features such as suspend to ram
|
||||
powerManagement.enable = true;
|
||||
|
@ -14,35 +14,8 @@
|
|||
# better performance than the actual intel driver
|
||||
services.xserver.videoDrivers = [ "modesetting" ];
|
||||
|
||||
# needed for our broadcom/brcm 4377b chip to work
|
||||
hardware.firmware = with pkgs; [
|
||||
my.apple-firmware
|
||||
];
|
||||
|
||||
# handle suspend issues (fuck you broadcom!)
|
||||
powerManagement.powerDownCommands = ''
|
||||
${pkgs.kmod}/bin/modprobe -r brcmfmac_wcc
|
||||
${pkgs.kmod}/bin/modprobe -r brcmfmac
|
||||
${pkgs.kmod}/bin/modprobe -r hci_bcm4377
|
||||
'';
|
||||
powerManagement.resumeCommands = ''
|
||||
${pkgs.kmod}/bin/modprobe hci_bcm4377
|
||||
${pkgs.kmod}/bin/modprobe brcmfmac
|
||||
${pkgs.kmod}/bin/modprobe brcmfmac_wcc
|
||||
'';
|
||||
|
||||
# VA-API and opengl
|
||||
hardware.graphics = {
|
||||
extraPackages = with pkgs; [
|
||||
intel-media-driver
|
||||
libvdpau-va-gl
|
||||
];
|
||||
|
||||
extraPackages32 = with pkgs.pkgsi686Linux; [
|
||||
intel-media-driver
|
||||
libvdpau-va-gl
|
||||
];
|
||||
};
|
||||
hardware.apple-t2.kernelChannel = "latest";
|
||||
hardware.apple-t2.firmware.enable = true;
|
||||
|
||||
environment.variables = {
|
||||
LIBVA_DRIVER_NAME= "iHD";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue