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.ranger
pkgs.obsidian
pkgs.moodle-dl
pkgs.brightnessctl

View file

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

View file

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