Revert nixpkgs.stdenv.hostPlatform back to nixpkgs.hostPlatform

nixpkgs.stdenv.hostPlatform is not a valid NixOS option. The
deprecation warning comes from nixpkgs internals and is harmless.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ediblerope 2026-04-08 09:27:34 +01:00
parent f1f2afaace
commit a14cc55921
3 changed files with 3 additions and 3 deletions

View file

@ -36,7 +36,7 @@
swapDevices = [ ];
nixpkgs.stdenv.hostPlatform = lib.mkDefault "x86_64-linux";
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
networking.hostName = "FredOS-Gaming";

View file

@ -28,7 +28,7 @@
swapDevices = [ ];
nixpkgs.stdenv.hostPlatform = lib.mkDefault "x86_64-linux";
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
networking.hostName = "FredOS-Macbook";
hardware.enableRedistributableFirmware = true;

View file

@ -52,7 +52,7 @@
swapDevices = [ ];
nixpkgs.stdenv.hostPlatform = lib.mkDefault "x86_64-linux";
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
networking.hostName = "FredOS-Mediaserver";