galvatron: emulate x86 (broken), add sound
This commit is contained in:
parent
bbac9f448b
commit
574ae45426
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user