From 671c1eb84bb4cb1d7bb933f2d932ecb6d067e7a6 Mon Sep 17 00:00:00 2001 From: xqtc161 Date: Mon, 18 Mar 2024 16:58:03 +0100 Subject: [PATCH] asmodeus binfmt aarch64; GPU driver hacking --- home/modules/home-pkgs.nix | 2 -- hosts/aarch64-linux/alastor/default.nix | 1 + hosts/x86_64-linux/asmodeus/default.nix | 11 +++++++---- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/home/modules/home-pkgs.nix b/home/modules/home-pkgs.nix index 5d76ff7..40facfc 100644 --- a/home/modules/home-pkgs.nix +++ b/home/modules/home-pkgs.nix @@ -22,8 +22,6 @@ in { pkgs.iftop pkgs.ranger - pkgs.obsidian - pkgs.moodle-dl pkgs.brightnessctl diff --git a/hosts/aarch64-linux/alastor/default.nix b/hosts/aarch64-linux/alastor/default.nix index b3a7b5f..27bb567 100644 --- a/hosts/aarch64-linux/alastor/default.nix +++ b/hosts/aarch64-linux/alastor/default.nix @@ -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; diff --git a/hosts/x86_64-linux/asmodeus/default.nix b/hosts/x86_64-linux/asmodeus/default.nix index 663fa2a..16ad23f 100644 --- a/hosts/x86_64-linux/asmodeus/default.nix +++ b/hosts/x86_64-linux/asmodeus/default.nix @@ -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.