hostPlatform moved to configuration.nix
This commit is contained in:
parent
9d749ee082
commit
9f2a6eae25
@ -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 = {
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -24,6 +24,7 @@
|
||||
allowedUDPPorts = [ 2049 ];
|
||||
};
|
||||
};
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
nix = let
|
||||
featuresList = [
|
||||
"nixos-test"
|
||||
|
||||
@ -71,6 +71,7 @@
|
||||
nixpkgs.config = {
|
||||
allowUnfree = true;
|
||||
permittedInsecurePackages = [ ];
|
||||
hostPlatform = "x86_64-linux";
|
||||
};
|
||||
users = {
|
||||
groups.nixremote.gid = 555;
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
{ config, pkgs, modulesPath, lib, ... }: {
|
||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
hardware = {
|
||||
cpu.amd.updateMicrocode =
|
||||
lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user