Fix binfmt.emulatedSystems to use lib.optionals instead of lib.optional
This commit is contained in:
parent
89929ac69a
commit
7df7f67e0e
3 changed files with 3 additions and 3 deletions
|
|
@ -17,7 +17,7 @@
|
|||
networking.hostName = "fred";
|
||||
variables.address = "100.72.236.170";
|
||||
boot = {
|
||||
binfmt.emulatedSystems = lib.optional (config.system != "aarch64-linux") [ "aarch64-linux" ];
|
||||
binfmt.emulatedSystems = lib.optionals (config.system != "aarch64-linux") [ "aarch64-linux" ];
|
||||
loader = {
|
||||
systemd-boot = {enable = true;};
|
||||
efi = {
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ in {
|
|||
|
||||
# Bootloader.
|
||||
boot = {
|
||||
binfmt.emulatedSystems = lib.optional (config.system != "aarch64-linux") [ "aarch64-linux" ];
|
||||
binfmt.emulatedSystems = lib.optionals (config.system != "aarch64-linux") [ "aarch64-linux" ];
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernelParams = ["consoleblank=60"];
|
||||
#loader = {
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ in {
|
|||
|
||||
# Bootloader.
|
||||
boot = {
|
||||
binfmt.emulatedSystems = lib.optional (config.system != "aarch64-linux") [ "aarch64-linux" ];
|
||||
binfmt.emulatedSystems = lib.optionals (config.system != "aarch64-linux") [ "aarch64-linux" ];
|
||||
# kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernelPackages = pkgs.linuxPackages_zen;
|
||||
kernelParams = ["consoleblank=60" "mem_sleep_default=deep"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue