galvatron: emulate x86 (broken), add sound

This commit is contained in:
mir 2024-03-13 08:51:58 -08:00
parent bbac9f448b
commit 574ae45426

View File

@ -38,6 +38,7 @@
modules = [
./configuration.nix {
services.xserver.videoDrivers = [ "modesetting" ];
boot.binfmt.emulatedSystems = ["x86_64-linux"];
hardware.asahi = {
peripheralFirmwareDirectory = ./galvatron/firmware;
# useExperimentalGPUDriver = true;
@ -46,11 +47,11 @@
};
boot.loader.efi.canTouchEfiVariables = false;
networking.hostName = "galvatron";
sound.enable = false;
sound.enable = true; # only on unstable?
}
./galvatron/hardware-configuration.nix
inputs.apple-silicon.nixosModules.apple-silicon-support
home-manager.nixosModules.home-manager
inputs.home-manager-unstable.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
@ -59,7 +60,7 @@
}
]; # end of modules
in
nixpkgs.lib.nixosSystem {inherit system modules specialArgs; };
nixpkgs-unstable.lib.nixosSystem {inherit system modules specialArgs; };
breakdown =
let
system = "x86_64-linux";