mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-23 05:10:33 +01:00
asmodeus binfmt aarch64; GPU driver hacking
This commit is contained in:
parent
d9a1685ce7
commit
671c1eb84b
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue