hostPlatform moved to configuration.nix

This commit is contained in:
2024-07-04 03:45:25 -06:00
parent 9d749ee082
commit 9f2a6eae25
5 changed files with 6 additions and 3 deletions

View File

@@ -91,7 +91,10 @@
supportedFeatures = featuresList;
}];
};
nixpkgs.config.permittedInsecurePackages = [ "openssl-1.1.1w" ];
nixpkgs = {
config.permittedInsecurePackages = [ "openssl-1.1.1w" ];
hostPlatform = "x86_64-linux";
};
users = {
groups.nixremote.gid = 555;
users.nixremote = {

View File

@@ -1,6 +1,5 @@
{ lib, modulesPath, ... }: {
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
nixpkgs.hostPlatform = "x86_64-linux";
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
hardware = {
cpu.intel.updateMicrocode = lib.mkDefault true;