Tweaks re: apple-silicon limitations and compilation failures
This commit is contained in:
parent
530802c0ee
commit
f21f4ed2d1
6 changed files with 16 additions and 23 deletions
|
@ -76,7 +76,7 @@ in
|
|||
config = mkIf cfg.enable {
|
||||
## Boot Configuration
|
||||
# Set kernel version to latest
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
boot.kernelPackages = mkDefault pkgs.linuxPackages_latest;
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot = {
|
||||
plymouth.enable = true;
|
||||
|
@ -85,7 +85,7 @@ in
|
|||
loader.efi.canTouchEfiVariables = true;
|
||||
supportedFilesystems = [ "ntfs" ];
|
||||
};
|
||||
boot.initrd.systemd.enable = true;
|
||||
boot.initrd.systemd.enable = builtins.length (builtins.attrNames (cfg.luksDevices)) > 0;
|
||||
# LUKS devices
|
||||
boot.initrd.luks.devices = builtins.mapAttrs
|
||||
(name: path: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue