Update nixpkgs.hostPlatform
This commit is contained in:
parent
eda72b60d4
commit
eef1d0856c
12 changed files with 3 additions and 12 deletions
|
@ -47,7 +47,9 @@
|
|||
specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu system theme; };
|
||||
pkgs = import inputs.${repo} {
|
||||
inherit system;
|
||||
config.allowUnfree = unfree; };
|
||||
config.allowUnfree = unfree;
|
||||
hostPlatform = system;
|
||||
};
|
||||
|
||||
modules = [
|
||||
# Types are 'default', 'small', and 'minimal'
|
||||
|
|
|
@ -47,7 +47,6 @@
|
|||
|
||||
swapDevices = [ ];
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||
networking.hostName = "backups-rpi4";
|
||||
#####################################################################################
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
boot.extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
boot.extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
hardware.keyboard.zsa.enable = true;
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
# boot.extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||
hardware.keyboard.zsa.enable = true;
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{ config, lib, pkgs, modulesPath, desktop, username, ... }: {
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
networking.hostName = "nixos-iso-console";
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{ config, lib, pkgs, modulesPath, desktop, username, ... }: {
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
networking.hostName = "nixos-iso-desktop";
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{ config, lib, pkgs, modulesPath, system, ... }: {
|
||||
# Build this image with:
|
||||
# nix build .#nixosConfigurations.nixos-rpi4-img.config.system.build.sdImage
|
||||
nixpkgs.buildPlatform.system = "x86_64-linux";
|
||||
|
||||
# nixpkgs.crossSystem.system = "armv7l-linux";
|
||||
networking.hostName = "nixos-rpi4-img";
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
boot.extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
nix.distributedBuilds = true;
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
time.timeZone = "Asia/Tokyo";
|
||||
networking.hostName = "osaka-linode-01";
|
||||
|
||||
|
|
|
@ -48,7 +48,6 @@
|
|||
|
||||
swapDevices = [ ];
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||
networking.hostName = "piaware-rpi4";
|
||||
#####################################################################################
|
||||
|
|
|
@ -44,7 +44,6 @@
|
|||
|
||||
swapDevices = [ ];
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||
networking.hostName = "quitman-rpi4";
|
||||
#####################################################################################
|
||||
|
|
Loading…
Reference in a new issue