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 =
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 [