Fixing Hyprland crash

This commit is contained in:
soraefir
2023-11-17 02:20:02 +01:00
parent 5726d5c6d1
commit 63941b5c44
47 changed files with 517 additions and 493 deletions
+3
View File
@@ -0,0 +1,3 @@
{ ... }: {
imports = [ ./dbus ./fonts ./hw ./locale ./network ./nix ./security ./xdg ];
}
+4 -1
View File
@@ -1 +1,4 @@
{ ... }: { services.fwupd.enable = true; }
{ ... }: {
services.fwupd.enable = true;
hardware.enableAllFirmware = true;
}
+1
View File
@@ -0,0 +1 @@
{ ... }: { imports = [ ./base ./boot ./fs ./opengl ./power ./udev ./virt ]; }
+5 -1
View File
@@ -1 +1,5 @@
{ ... }: { hardware.opengl = { enable = true; }; }
{ ... }: {
hardware.opengl.enable = true;
hardware.opengl.driSupport = true;
hardware.opengl.driSupport32Bit = true;
}
+3
View File
@@ -0,0 +1,3 @@
{ ... }: {
imports = [ ./base ./bluetooth ./gsm ./security ./wifi ./wireguard ];
}
@@ -0,0 +1,4 @@
{ ... }:
{
}
+9
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 = ''
@@ -0,0 +1 @@
{ ... }: { imports = [ ./gpg ./polkit ./sops ./ssh ]; }
+2 -2
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";