From a8147d9ae568b3aec8350081cabeb6ac94f28060 Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Thu, 1 Jan 2026 15:59:51 +0000 Subject: [PATCH] Fix deprecated pkgs.system usage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace pkgs.system with pkgs.stdenv.hostPlatform.system to fix NixOS evaluation warning about the deprecated attribute. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- common/systemd-boot.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/systemd-boot.nix b/common/systemd-boot.nix index e9fdd5c..d95ccb7 100644 --- a/common/systemd-boot.nix +++ b/common/systemd-boot.nix @@ -3,7 +3,7 @@ boot.loader.systemd-boot = { enable = true; configurationLimit = 5; - memtest86.enable = lib.mkIf (pkgs.system == "x86_64-linux") true; + memtest86.enable = lib.mkIf (pkgs.stdenv.hostPlatform.system == "x86_64-linux") true; }; boot.loader.efi.canTouchEfiVariables = true; }