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

@@ -71,6 +71,7 @@
nixpkgs.config = {
allowUnfree = true;
permittedInsecurePackages = [ ];
hostPlatform = "x86_64-linux";
};
users = {
groups.nixremote.gid = 555;

View File

@@ -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;