From e4b305b97e1aadd3741f4d6deed56fbec5621199 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Thu, 6 Nov 2025 10:25:13 -0800 Subject: Replace system references with nixpkgs.hostPlatform --- flake.nix | 4 ++-- hosts/arrakis/services.nix | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index f7f9a66..c997694 100644 --- a/flake.nix +++ b/flake.nix @@ -293,8 +293,8 @@ root.openssh.authorizedKeys.keys = [ (builtins.readFile ./hosts/common/users/nipsy/keys/id_arrakis.pub) ]; }; }) + { nixpkgs.hostPlatform = "x86_64-linux"; } ]; - system = "x86_64-linux"; }; kaitain = nixpkgs.lib.nixosSystem rec { @@ -350,8 +350,8 @@ root.openssh.authorizedKeys.keys = [ (builtins.readFile ./hosts/common/users/nipsy/keys/id_arrakis.pub) ]; }; }) + { nixpkgs.hostPlatform = "x86_64-linux"; } ]; - system = "x86_64-linux"; }; richese = nixpkgs.lib.nixosSystem rec { diff --git a/hosts/arrakis/services.nix b/hosts/arrakis/services.nix index 57542d9..d758d34 100644 --- a/hosts/arrakis/services.nix +++ b/hosts/arrakis/services.nix @@ -85,8 +85,6 @@ nginx = let sys = lib.nixosSystem { - system = "x86_64-linux"; - modules = [ ({ config, pkgs, lib, modulesPath, ... }: { imports = [ @@ -119,6 +117,7 @@ }; }; }) + { nixpkgs.hostPlatform = "x86_64-linux"; } ]; }; -- cgit v1.2.3