asmodeus binfmt aarch64; GPU driver hacking

This commit is contained in:
xqtc161 2024-03-18 16:58:03 +01:00
parent d9a1685ce7
commit 671c1eb84b
3 changed files with 8 additions and 6 deletions

View file

@ -22,8 +22,6 @@ in {
pkgs.iftop pkgs.iftop
pkgs.ranger pkgs.ranger
pkgs.obsidian
pkgs.moodle-dl pkgs.moodle-dl
pkgs.brightnessctl pkgs.brightnessctl

View file

@ -19,6 +19,7 @@
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
hardware.asahi.peripheralFirmwareDirectory = ./firmware; hardware.asahi.peripheralFirmwareDirectory = ./firmware;
hardware.asahi.useExperimentalGPUDriver = true; hardware.asahi.useExperimentalGPUDriver = true;
hardware.asahi.experimentalGPUInstallMode = "overlay";
hardware.asahi.withRust = true; hardware.asahi.withRust = true;
hardware.opengl.enable = true; hardware.opengl.enable = true;
hardware.opengl.driSupport = true; hardware.opengl.driSupport = true;

View file

@ -35,14 +35,16 @@
imports = [ imports = [
# Include the results of the hardware scan. # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
../../common ../../../common
../antivirus.nix ../../antivirus.nix
../../modules/home-manager.nix ../../../modules/home-manager.nix
../gc.nix ../../gc.nix
]; ];
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
hardware.opengl = { hardware.opengl = {
enable = true; enable = true;
driSupport = true; driSupport = true;
@ -159,6 +161,7 @@
]; ];
#programs.nix-ld.enable = true; #programs.nix-ld.enable = true;
programs.dconf.enable = true;
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
# started in user sessions. # started in user sessions.