Fixing Hyprland crash
This commit is contained in:
3
modules/nixos/system/default.nix
Normal file
3
modules/nixos/system/default.nix
Normal file
@ -0,0 +1,3 @@
|
||||
{ ... }: {
|
||||
imports = [ ./dbus ./fonts ./hw ./locale ./network ./nix ./security ./xdg ];
|
||||
}
|
@ -1 +1,4 @@
|
||||
{ ... }: { services.fwupd.enable = true; }
|
||||
{ ... }: {
|
||||
services.fwupd.enable = true;
|
||||
hardware.enableAllFirmware = true;
|
||||
}
|
||||
|
1
modules/nixos/system/hw/default.nix
Normal file
1
modules/nixos/system/hw/default.nix
Normal file
@ -0,0 +1 @@
|
||||
{ ... }: { imports = [ ./base ./boot ./fs ./opengl ./power ./udev ./virt ]; }
|
@ -1 +1,5 @@
|
||||
{ ... }: { hardware.opengl = { enable = true; }; }
|
||||
{ ... }: {
|
||||
hardware.opengl.enable = true;
|
||||
hardware.opengl.driSupport = true;
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
}
|
||||
|
3
modules/nixos/system/network/default.nix
Normal file
3
modules/nixos/system/network/default.nix
Normal file
@ -0,0 +1,3 @@
|
||||
{ ... }: {
|
||||
imports = [ ./base ./bluetooth ./gsm ./security ./wifi ./wireguard ];
|
||||
}
|
4
modules/nixos/system/network/gsm/default.nix
Normal file
4
modules/nixos/system/network/gsm/default.nix
Normal file
@ -0,0 +1,4 @@
|
||||
{ ... }:
|
||||
{
|
||||
|
||||
}
|
@ -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 = ''
|
||||
|
1
modules/nixos/system/security/default.nix
Normal file
1
modules/nixos/system/security/default.nix
Normal file
@ -0,0 +1 @@
|
||||
{ ... }: { imports = [ ./gpg ./polkit ./sops ./ssh ]; }
|
@ -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";
|
||||
|
Reference in New Issue
Block a user