From 53f32dd769b9ae36f4d66d582b620e9b38321ada Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Mon, 2 Oct 2023 09:24:31 +0000 Subject: sys: set hostPlatform --- sys/atuin.nix | 2 ++ sys/mbp.nix | 2 ++ 2 files changed, 4 insertions(+) (limited to 'sys') diff --git a/sys/atuin.nix b/sys/atuin.nix index 91f16244dc37..724f146cda5b 100644 --- a/sys/atuin.nix +++ b/sys/atuin.nix @@ -136,6 +136,8 @@ in ../modules/users ]; + nixpkgs.hostPlatform.system = "x86_64-linux"; + fileSystems = { "/" = { device = "rpool/root"; fsType = "zfs"; neededForBoot = true; }; "/boot" = { device = "/dev/disk/by-partlabel/boot"; fsType = "ext4"; }; diff --git a/sys/mbp.nix b/sys/mbp.nix index 202933a9553d..0cb8a5160bbd 100644 --- a/sys/mbp.nix +++ b/sys/mbp.nix @@ -9,6 +9,8 @@ ../modules/workstation/physical ]; + nixpkgs.hostPlatform.system = "aarch64-linux"; + hardware.enableRedistributableFirmware = true; boot.loader.systemd-boot.enable = true; -- cgit 1.4.1