Rodrigo Arias Mallo
c8687f7e45
Allows cross-compilation of packages for RISC-V that are known to try to run RISC-V programs in the host. Reviewed-by: Aleix Boné <abonerib@bsc.es>
29 lines
632 B
Nix
29 lines
632 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
../common/xeon.nix
|
|
../module/ceph.nix
|
|
../module/emulation.nix
|
|
../module/slurm-client.nix
|
|
../module/slurm-firewall.nix
|
|
../module/slurm-hut-nix-store.nix
|
|
../module/debuginfod.nix
|
|
];
|
|
|
|
# Select the this using the ID to avoid mismatches
|
|
boot.loader.grub.device = "/dev/disk/by-id/wwn-0x55cd2e414d53566c";
|
|
|
|
networking = {
|
|
hostName = "owl1";
|
|
interfaces.eno1.ipv4.addresses = [ {
|
|
address = "10.0.40.1";
|
|
prefixLength = 24;
|
|
} ];
|
|
interfaces.ibp5s0.ipv4.addresses = [ {
|
|
address = "10.0.42.1";
|
|
prefixLength = 24;
|
|
} ];
|
|
};
|
|
}
|