NixOS configuration for HPC cluster
https://docs.hpc.informatik.hs-fulda.de/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
448 B
24 lines
448 B
{ id, ... }:
|
|
{ lib, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
imports = [
|
|
./disk.nix
|
|
];
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
networking.hostName = "node-${fixedWidthNumber 2 id}";
|
|
|
|
nix.settings = {
|
|
substituters = [
|
|
"http://cache.hpc.informatik.hs-fulda.de"
|
|
];
|
|
trusted-public-keys = [
|
|
"cache.hpc.informatik.hs-fulda.de:dc2abEGJAQfaZiBXhjvjPU0jx/wosQwAOQoz48/G6cA="
|
|
];
|
|
};
|
|
}
|