make more stuff arch conditional

This commit is contained in:
Christoph Cullmann 2025-07-04 18:09:47 +02:00
parent 0931b085ee
commit 7d72e47e20
No known key found for this signature in database
5 changed files with 6 additions and 7 deletions

View file

@ -12,8 +12,6 @@
# x86-64 machine
nixpkgs.hostPlatform = "x86_64-linux";
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.systemd-boot.memtest86.enable = true;
# our hostname
networking.hostName = "beta";

View file

@ -12,8 +12,6 @@
# x86-64 machine
nixpkgs.hostPlatform = "x86_64-linux";
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.systemd-boot.memtest86.enable = true;
# our hostname
networking.hostName = "miku";

View file

@ -12,8 +12,6 @@
# x86-64 machine
nixpkgs.hostPlatform = "x86_64-linux";
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.systemd-boot.memtest86.enable = true;
# our hostname
networking.hostName = "neko";

View file

@ -116,6 +116,12 @@ in
# use systemd early, we use boot.initrd.systemd.services.rollback to rollback /
boot.initrd.systemd.enable = true;
# works only on x86 machines, not on the Macs
boot.loader.efi.canTouchEfiVariables = pkgs.stdenv.hostPlatform.isx86;
# memcheck, works only on x86 machines
boot.loader.systemd-boot.memtest86.enable = pkgs.stdenv.hostPlatform.isx86;
# setup the console stuff early and use a nice font
console.earlySetup = true;
console.font = "${pkgs.spleen}/share/consolefonts/spleen-16x32.psfu";

View file

@ -13,7 +13,6 @@
# AArch64 machine
nixpkgs.hostPlatform = "aarch64-linux";
boot.loader.efi.canTouchEfiVariables = false;
# our hostname
networking.hostName = "zeta";