diff --git a/boxes/desktop/configuration.nix b/boxes/desktop/configuration.nix index 90501d2..1c5b216 100644 --- a/boxes/desktop/configuration.nix +++ b/boxes/desktop/configuration.nix @@ -80,6 +80,7 @@ in boot.loader.grub.efiSupport = true; boot.loader.grub.useOSProber = true; boot.loader.grub.efiInstallAsRemovable = true; + boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; # add user to "openrazer" group hardware.openrazer.enable = true; hardware.openrazer.users = [ "meyer" ]; diff --git a/flake.nix b/flake.nix index 0a21108..2a15684 100644 --- a/flake.nix +++ b/flake.nix @@ -23,14 +23,16 @@ { nixosConfigurations = { desktopIso = nixpkgs.lib.nixosSystem { - system = "aarch64-linux"; - modules = [ - ./boxes/desktop/configuration.nix - inputs.home-manager.nixosModules.default - ({ pkgs, modulesPath, ...}: { - imports = [ (modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix")]; - }) - ]; + system = "aarch64-linux"; + modules = [ + # ./boxes/desktop/configuration.nix + # inputs.home-manager.nixosModules.default + ({ pkgs, modulesPath, ... }: { + imports = [ (modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix") ]; + boot.kernelPackages = pkgs.linuxPackages_testing; + nixpkgs.config.allowBroken = true; + }) + ]; }; desktop = nixpkgs.lib.nixosSystem { specialArgs = { inherit inputs; };