mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-22 15:00:32 +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.ranger
|
||||
|
||||
pkgs.obsidian
|
||||
|
||||
pkgs.moodle-dl
|
||||
|
||||
pkgs.brightnessctl
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue