Fixing Hyprland crash

This commit is contained in:
soraefir
2023-11-16 23:06:28 +01:00
parent 5726d5c6d1
commit 63941b5c44
47 changed files with 518 additions and 494 deletions

View File

@ -0,0 +1,3 @@
{ ... }: {
imports = [ ./dbus ./fonts ./hw ./locale ./network ./nix ./security ./xdg ];
}

View File

@ -1 +1,4 @@
{ ... }: { services.fwupd.enable = true; }
{ ... }: {
services.fwupd.enable = true;
hardware.enableAllFirmware = true;
}

View File

@ -0,0 +1 @@
{ ... }: { imports = [ ./base ./boot ./fs ./opengl ./power ./udev ./virt ]; }

View File

@ -1 +1,5 @@
{ ... }: { hardware.opengl = { enable = true; }; }
{ ... }: {
hardware.opengl.enable = true;
hardware.opengl.driSupport = true;
hardware.opengl.driSupport32Bit = true;
}

View File

@ -0,0 +1,3 @@
{ ... }: {
imports = [ ./base ./bluetooth ./gsm ./security ./wifi ./wireguard ];
}

View File

@ -0,0 +1,4 @@
{ ... }:
{
}

View File

@ -1,4 +1,13 @@
{ pkgs, ... }: {
nixpkgs.config = {
permittedInsecurePackages = [ ];
allowUnfree = true;
packageOverrides = pkgs: rec {
custom = import ../../../../packages { inherit pkgs; };
};
};
nixpkgs.overlays = import ../../../../overlays { inherit pkgs; };
nix = {
package = pkgs.nixFlakes;
extraOptions = ''

View File

@ -0,0 +1 @@
{ ... }: { imports = [ ./gpg ./polkit ./sops ./ssh ]; }

View File

@ -5,14 +5,14 @@
# wlr.enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-hyprland
xdg-desktop-portal-gtk
# xdg-desktop-portal-gtk
];
};
environment.sessionVariables = rec {
GBM_BACKEND = "amd-drm";
__GL_GSYNC_ALLOWED = "0";
__GL_VRR_ALLOWED = "0";
__GL_VRR_ALLOWED = "1";
WLR_DRM_NO_ATOMIC = "1";
__GLX_VENDOR_LIBRARY_NAME = "amd";
_JAVA_AWT_WM_NONREPARENTING = "1";