mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 09:43:11 +01:00
flake: remove mobile-nixos-vm
Previously we used a mobile-nixos config without the mobile-nixos modules to start up a QEMU virtual machine on x86_64-linux without having to worry about cross-compiling aarch64-linux. Although this worked, the added complexity was not ideal and the compilation time of the kernel with emulation was definitely not ideal (5+ hours). Note that I *may* add this again in the future, although I'd rather set the system to x86_64-linux and cross-compile instead, which mobile-nixos already supports but takes a large amount of ram.
This commit is contained in:
parent
4f9289a35c
commit
469b18907e
13
flake.nix
13
flake.nix
@ -114,19 +114,6 @@
|
|||||||
./hosts/phone/hardware-configuration.nix
|
./hosts/phone/hardware-configuration.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
mobile-nixos-vm = nixosSystem {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
|
|
||||||
specialArgs = attrs // {
|
|
||||||
nix-config = self;
|
|
||||||
};
|
|
||||||
|
|
||||||
modules = [
|
|
||||||
./hosts/phone/configuration.nix
|
|
||||||
./hosts/phone/hardware-configuration.nix
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
formatter = forAllSystems (pkgs: pkgs.nixfmt-rfc-style);
|
formatter = forAllSystems (pkgs: pkgs.nixfmt-rfc-style);
|
||||||
|
Loading…
Reference in New Issue
Block a user