WIP: moby-cross: is cross-by-default instead of opt-in

This commit is contained in:
Colin 2023-02-04 11:39:16 +00:00
parent d00f477621
commit 9cbab8ee35
3 changed files with 9 additions and 3 deletions

View File

@ -78,6 +78,9 @@
self.overlays.passthru self.overlays.passthru
self.overlays.pins self.overlays.pins
]; ];
# nixpkgs.crossSystem = target;
nixpkgs.hostPlatform = target;
nixpkgs.buildPlatform = local;
} }
]; ];
}); });

View File

@ -10,6 +10,9 @@
sane.services.wg-home.enable = true; sane.services.wg-home.enable = true;
sane.services.wg-home.ip = config.sane.hosts.by-name."moby".wg-home.ip; sane.services.wg-home.ip = config.sane.hosts.by-name."moby".wg-home.ip;
# TODO: re-enable once base is cross-compiled
sane.programs.phoshApps.enableSuggested = false;
# cross-compiled documentation is *slow*. # cross-compiled documentation is *slow*.
# no obvious way to natively compile docs (2022/09/29). # no obvious way to natively compile docs (2022/09/29).
# entrypoint is nixos/modules/misc/documentation.nix # entrypoint is nixos/modules/misc/documentation.nix
@ -50,7 +53,7 @@
sane.nixcache.enable = true; sane.nixcache.enable = true;
sane.persist.enable = true; sane.persist.enable = true;
sane.gui.phosh.enable = true; # sane.gui.phosh.enable = true;
boot.loader.efi.canTouchEfiVariables = false; boot.loader.efi.canTouchEfiVariables = false;
# /boot space is at a premium. default was 20. # /boot space is at a premium. default was 20.

View File

@ -53,12 +53,12 @@ let
consolePkgs = { consolePkgs = {
inherit (pkgs) inherit (pkgs)
backblaze-b2 backblaze-b2
cdrtools # cdrtools # TODO: fix for cross compilation
dmidecode dmidecode
duplicity duplicity
efivar efivar
flashrom flashrom
fwupd # fwupd # TODO: fix for cross compilation
ghostscript # TODO: imagemagick wrapper should add gs to PATH ghostscript # TODO: imagemagick wrapper should add gs to PATH
gnupg gnupg
gocryptfs gocryptfs