galvatron: emulate x86 (broken), add sound
This commit is contained in:
parent
bbac9f448b
commit
574ae45426
@ -38,6 +38,7 @@
|
|||||||
modules = [
|
modules = [
|
||||||
./configuration.nix {
|
./configuration.nix {
|
||||||
services.xserver.videoDrivers = [ "modesetting" ];
|
services.xserver.videoDrivers = [ "modesetting" ];
|
||||||
|
boot.binfmt.emulatedSystems = ["x86_64-linux"];
|
||||||
hardware.asahi = {
|
hardware.asahi = {
|
||||||
peripheralFirmwareDirectory = ./galvatron/firmware;
|
peripheralFirmwareDirectory = ./galvatron/firmware;
|
||||||
# useExperimentalGPUDriver = true;
|
# useExperimentalGPUDriver = true;
|
||||||
@ -46,11 +47,11 @@
|
|||||||
};
|
};
|
||||||
boot.loader.efi.canTouchEfiVariables = false;
|
boot.loader.efi.canTouchEfiVariables = false;
|
||||||
networking.hostName = "galvatron";
|
networking.hostName = "galvatron";
|
||||||
sound.enable = false;
|
sound.enable = true; # only on unstable?
|
||||||
}
|
}
|
||||||
./galvatron/hardware-configuration.nix
|
./galvatron/hardware-configuration.nix
|
||||||
inputs.apple-silicon.nixosModules.apple-silicon-support
|
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.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
@ -59,7 +60,7 @@
|
|||||||
}
|
}
|
||||||
]; # end of modules
|
]; # end of modules
|
||||||
in
|
in
|
||||||
nixpkgs.lib.nixosSystem {inherit system modules specialArgs; };
|
nixpkgs-unstable.lib.nixosSystem {inherit system modules specialArgs; };
|
||||||
breakdown =
|
breakdown =
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
Loading…
Reference in New Issue
Block a user