From 574ae45426166de3b827c88851754c33f3837cb5 Mon Sep 17 00:00:00 2001 From: mir Date: Wed, 13 Mar 2024 08:51:58 -0800 Subject: [PATCH] galvatron: emulate x86 (broken), add sound --- flake.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 8fea853..a1d452b 100644 --- a/flake.nix +++ b/flake.nix @@ -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";