From f1f2afaace720886cb6c1eb0d8a48701b61b5f11 Mon Sep 17 00:00:00 2001 From: ediblerope Date: Wed, 8 Apr 2026 09:26:18 +0100 Subject: [PATCH] Fix deprecated nixpkgs.hostPlatform -> nixpkgs.stdenv.hostPlatform Co-Authored-By: Claude Opus 4.6 --- hosts/hardware/FredOS-Gaming.nix | 2 +- hosts/hardware/FredOS-Macbook.nix | 2 +- hosts/hardware/FredOS-Mediaserver.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/hardware/FredOS-Gaming.nix b/hosts/hardware/FredOS-Gaming.nix index 64d5306..8ffc8bd 100644 --- a/hosts/hardware/FredOS-Gaming.nix +++ b/hosts/hardware/FredOS-Gaming.nix @@ -36,7 +36,7 @@ swapDevices = [ ]; - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + nixpkgs.stdenv.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; networking.hostName = "FredOS-Gaming"; diff --git a/hosts/hardware/FredOS-Macbook.nix b/hosts/hardware/FredOS-Macbook.nix index 7b15780..812b23b 100644 --- a/hosts/hardware/FredOS-Macbook.nix +++ b/hosts/hardware/FredOS-Macbook.nix @@ -28,7 +28,7 @@ swapDevices = [ ]; - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + nixpkgs.stdenv.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; networking.hostName = "FredOS-Macbook"; hardware.enableRedistributableFirmware = true; diff --git a/hosts/hardware/FredOS-Mediaserver.nix b/hosts/hardware/FredOS-Mediaserver.nix index 5afbd2f..1bf16a5 100644 --- a/hosts/hardware/FredOS-Mediaserver.nix +++ b/hosts/hardware/FredOS-Mediaserver.nix @@ -52,7 +52,7 @@ swapDevices = [ ]; - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + nixpkgs.stdenv.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; networking.hostName = "FredOS-Mediaserver";