From ad0a1282ea0597a9aa24224ec422f4faf27517b7 Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Thu, 7 Nov 2024 14:25:44 +0100 Subject: [PATCH] hosts/default.nix: do not inherit system --- hosts/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/default.nix b/hosts/default.nix index ca249b1..d821660 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -19,7 +19,6 @@ inputs: let specialArgs = recursiveUpdate { - inherit system; inherit lib; inherit inputs; inherit self; @@ -32,8 +31,9 @@ inputs: let self.nixosModules.user ] (singleton { - networking.hostName = args.hostname; - nixpkgs.hostPlatform = mkDefault args.system; + networking.hostName = hostname; + #thanks raf + nixpkgs.hostPlatform = system; }) (flatten ( concatLists [