mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-02-13 16:29:38 +01:00
phone: Only disable systemd-boot on aarch64
This is necessary since the boot process is handled by mobile-nixos. Note that the implementation here should allow us to move aarch64 differences out of the flake.nix and simplify nixosConfigurations again long-term.
This commit is contained in:
parent
d092c5f416
commit
7fe0596d90
@ -75,11 +75,7 @@
|
||||
mobile-nixos-vm = nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = attrs // { nix-config = self; };
|
||||
modules = phoneModules ++ [
|
||||
{
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
}
|
||||
];
|
||||
modules = phoneModules;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ self, pkgs, config, lib, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkForce;
|
||||
inherit (lib) mkIf mkForce;
|
||||
inherit (lib.gvariant) mkTuple;
|
||||
inherit (config.modules.system) username;
|
||||
inherit (builtins) attrValues;
|
||||
@ -180,7 +180,7 @@ in
|
||||
enableContainers = false;
|
||||
|
||||
binfmt.emulatedSystems = mkForce [ ];
|
||||
loader.systemd-boot.enable = mkForce false;
|
||||
loader.systemd-boot.enable = mkIf (pkgs.system == "aarch64-linux") (mkForce false);
|
||||
};
|
||||
|
||||
documentation.man.generateCaches = false;
|
||||
|
Loading…
Reference in New Issue
Block a user