diff --git a/lib/default.nix b/lib/default.nix
index 81ebeaca..1ca712b5 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -59,6 +59,9 @@
       };
     };
 
+    nixpkgs.hostPlatform = system;
+    nixpkgs-unstable.hostPlatform = system;
+
     modules = [
       # Types are 'default', 'small', and 'minimal'
       ../nixos/${type}.nix