nixpkgs.hostPlatform

This commit is contained in:
Nicolas Jeannerod 2024-11-20 16:46:09 +01:00
parent dbba09de45
commit 9888ae0d07
Signed by untrusted user: Niols
GPG key ID: 35DB9EC8886E1CB8
5 changed files with 7 additions and 8 deletions

View file

@ -1,3 +1,9 @@
{ lib, ... }:
let
inherit (lib) mkDefault;
in
{ {
imports = [ imports = [
./hardware.nix ./hardware.nix
@ -8,4 +14,5 @@
time.timeZone = "Europe/Amsterdam"; time.timeZone = "Europe/Amsterdam";
i18n.defaultLocale = "en_US.UTF-8"; i18n.defaultLocale = "en_US.UTF-8";
system.stateVersion = "24.05"; # do not change system.stateVersion = "24.05"; # do not change
nixpkgs.hostPlatform = mkDefault "x86_64-linux";
} }

View file

@ -12,6 +12,4 @@
}; };
networking.useDHCP = lib.mkDefault true; networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
} }

View file

@ -16,6 +16,4 @@
}; };
networking.useDHCP = lib.mkDefault true; networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
} }

View file

@ -16,6 +16,4 @@
}; };
networking.useDHCP = lib.mkDefault true; networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
} }

View file

@ -16,6 +16,4 @@
}; };
networking.useDHCP = lib.mkDefault true; networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
} }