mirror of
https://github.com/dump-dvb/nix-config.git
synced 2024-06-01 05:49:23 +02:00
aarch64 and hannover are back
This commit is contained in:
parent
951af6ee11
commit
4fbbde789a
|
@ -221,6 +221,11 @@
|
||||||
arch = "x86_64-linux";
|
arch = "x86_64-linux";
|
||||||
monitoring = true;
|
monitoring = true;
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
id = 8;
|
||||||
|
arch ="aarch64-linux";
|
||||||
|
monitoring = false;
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
# attribute set of all traffic stop boxes
|
# attribute set of all traffic stop boxes
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
||||||
|
@ -30,6 +30,8 @@
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" "sdhci_acpi" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" "sdhci_acpi" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
# some whoopsie in kernel 6.1.x maybe?
|
||||||
|
boot.kernelPackages = pkgs.linuxKernel.packages.linux_5_15;
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
|
|
|
@ -1,13 +1,10 @@
|
||||||
{ pkgs, config, ... }:
|
{ pkgs, config, self, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
boot.tmp.useTmpfs = true;
|
boot.tmp.useTmpfs = true;
|
||||||
|
|
||||||
networking.hostName = "traffic-stop-box-${toString config.deployment-TLMS.systemNumber}"; # Define your hostname.
|
networking.hostName = "traffic-stop-box-${toString config.deployment-TLMS.systemNumber}"; # Define your hostname.
|
||||||
|
|
||||||
# some whoopsie in kernel 6.1.x maybe?
|
|
||||||
boot.kernelPackages = pkgs.linuxKernel.packages.linux_5_15;
|
|
||||||
|
|
||||||
# reboot 60 seconds after kernel panic
|
# reboot 60 seconds after kernel panic
|
||||||
boot.kernel.sysctl."kernel.panic" = 60;
|
boot.kernel.sysctl."kernel.panic" = 60;
|
||||||
|
|
||||||
|
@ -22,12 +19,5 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
|
||||||
# settings for stateful data, like file locations and database versions
|
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
|
||||||
# this value at the release version of the first install of this system.
|
|
||||||
# Before changing this value read the documentation for this option
|
|
||||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
|
||||||
system.stateVersion = "21.11"; # Did you read the comment?
|
system.stateVersion = "21.11"; # Did you read the comment?
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user