hosts/default.nix: do not inherit system

This commit is contained in:
Charlie Root 2024-11-07 14:25:44 +01:00
commit ad0a1282ea
Signed by: faukah
SSH key fingerprint: SHA256:jpYIt4Vkz1NBTQcks/N9OPTfTFxE6KF2W/rV7hrfrIw

View file

@ -19,7 +19,6 @@ inputs: let
specialArgs = specialArgs =
recursiveUpdate recursiveUpdate
{ {
inherit system;
inherit lib; inherit lib;
inherit inputs; inherit inputs;
inherit self; inherit self;
@ -32,8 +31,9 @@ inputs: let
self.nixosModules.user self.nixosModules.user
] ]
(singleton { (singleton {
networking.hostName = args.hostname; networking.hostName = hostname;
nixpkgs.hostPlatform = mkDefault args.system; #thanks raf
nixpkgs.hostPlatform = system;
}) })
(flatten ( (flatten (
concatLists [ concatLists [